Your browser lacks required capabilities. Please upgrade it or switch to another to continue.
Loading…
<<set $header = 0>>\
<div style="text-align: center;">\
<p class="double">\
<br>CRYPT SHYFTER
THREE ARTIFACTS<br>
by kung fu space barbarian<br>
</p>\
[[Start|gender]]
<<set $hp = 10>>\
<<set $maxHP = 10>>\
<<set $sword = 0>>\
<<set $gold = 35>>\
<<set $pizza = 2>>\
<<set $beer = 1>>\
<<set $inventory= []>>\
<<set $quests= []>>\
<<set $quests.push("No quests yet")>>\
<<set $arm = 0>>\
<<set $sd = 0>>\
<<set $def = 0>>\
<<set $basedef = 0>>\
<<set $helm = 0>>\
<<set $shieldpenalty = 0>>\
<<set $armorpenalty = 0>>\
<<set $monsters = 0>>\
<<set $level = 1>>\
<<set $levelcap = 100 * $level>>\
<<set $xp = 0>>\
<<set $atk = 0>>\
<<set $atkpwr = $sword + $atk>>\
<<set $weap = "None">>\
<<set $armor = "None">>\
<<set $shield = "None">>\
<<set $weaponmod1 = either("Holy","Atomic","Humongous","Bloody","Broken","Beautiful","Crude","Invincible","Tiny","Magical","Primitive","Sacred","Superior","Wooden","Powerful","Lethal","Secret","Ultimate","Devastating","Deadly","Poisonous","Venomous","Cursed","Flaming","Fiery","Frozen","Ancient","Unholy","Kingly","Enchanted","Silver","Golden","Jade","Onyx","Shadowy","Trusty","Haunted","Demonic")>>\
<<set $postweaponmod1 = either("of Doom","of Chaos","of Destiny","of Death","of Destruction","of the King","of the Queen","of the Knight","of Darkness","of the Wizard","of Infinity","of Flame","of the Warchief","of Wickedness","of Warding","of Giants","of Protection","of the Light","of Evil","of Shadows")>>\
<<set $weaponmod2 = either("Holy","Atomic","Humongous","Bloody","Broken","Beautiful","Crude","Invincible","Tiny","Magical","Primitive","Sacred","Superior","Wooden","Powerful","Lethal","Secret","Ultimate","Devastating","Deadly","Poisonous","Venomous","Cursed","Flaming","Fiery","Frozen","Ancient","Unholy","Kingly","Enchanted","Silver","Golden","Jade","Onyx","Shadowy","Trusty","Haunted","Demonic")>>\
<<set $postweaponmod2 = either("of Doom","of Chaos","of Destiny","of Death","of Destruction","of the King","of the Queen","of the Knight","of Darkness","of the Wizard","of Infinity","of Flame","of the Warchief","of Wickendness","of the Ninja","of the Samurai","of the Pirate King","of the Lich Lord","of the Cursed Hand","of Warding","of Protection","of the Light","of Giants","of Evil","of Shadows")>>\
<<set $weaponmod3 = either("Holy","Atomic","Humongous","Bloody","Broken","Beautiful","Crude","Invincible","Tiny","Magical","Primitive","Sacred","Superior","Wooden","Powerful","Lethal","Secret","Ultimate","Devastating","Deadly","Poisonous","Venomous","Cursed","Flaming","Fiery","Frozen","Ancient","Unholy","Kingly","Enchanted","Silver","Golden","Jade","Onyx","Shadowy","Trusty","Haunted","Demonic")>>\
<<set $postweaponmod3 = either("of Doom","of Chaos","of Destiny","of Death","of Destruction","of the King","of the Queen","of the Knight","of Darkness","of the Wizard","of Infinity","of Flame","of the Warchief","of Wickendness","of Giants","of Warding","of Protection","of the Light","of Evil","of Shadows")>>\
<<set $weapon1 = either("Dagger","Rapier","Scimitar","Whip","Slingshot","Shortbow","Staff","Pike","Knife","Battle Axe","Club","Axe","Javelin","Spear","Halberd","Greatsword","Broadsword","Hammer","Sickle","Lance","Longsword","Longbow","Trident","Mace","Morningstar","Warhammer","Maul","Flail","Greataxe")>>\
<<set $weapon2 = either("Dagger","Rapier","Scimitar","Whip","Slingshot","Shortbow","Staff","Pike","Knife","Battle Axe","Club","Axe","Javelin","Spear","Halberd","Greatsword","Broadsword","Hammer","Sickle","Lance","Longsword","Longbow","Trident","Mace","Morningstar","Warhammer","Maul","Flail","Greataxe")>>\
<<set $weapon3 = either("Dagger","Rapier","Scimitar","Whip","Slingshot","Shortbow","Staff","Pike","Knife","Battle Axe","Club","Axe","Javelin","Spear","Halberd","Greatsword","Broadsword","Hammer","Sickle","Lance","Longsword","Longbow","Trident","Mace","Morningstar","Warhammer","Maul","Flail","Greataxe")>>\
<<set $armor1 = either("Hide Armor","Leather Armor","Studded Armor","Padded Armor","Chain Mail","Dragon Scale Armor","Half Plate","Plate Armor","Ring Mail","Iron Suit")>>\
<<set $armormod1 = either("Holy","Bloody","Beautiful","Crude","Invincible","Magical","Primitive","Sacred","Superior","Impenetrable","Deadly","Poisonous","Venomous","Cursed","Flaming","Fiery","Frozen","Ancient","Unholy","Kingly","Enchanted","Silver","Golden","Jade","Onyx","Shadowy","Trusty","Haunted","Demonic")>>\
<<set $postarmormod1 = either("of Doom","of Chaos","of Destiny","of Death","of Destruction","of the King","of the Queen","of the Knight","of Darkness","of the Wizard","of Infinity","of Flame","of the Warchief","of Wickendness","of Warding","of Protection","of the Light","of Evil","of Shadows","of Giants")>>\
<<set $armor2 = either("Hide Armor","Leather Armor","Studded Armor","Padded Armor","Chain Mail","Dragon Scale Armor","Half Plate","Plate Armor","Ring Mail","Iron Suit")>>\
<<set $armormod2 = either("Holy","Bloody","Beautiful","Crude","Invincible","Magical","Primitive","Sacred","Superior","Impenetrable","Deadly","Poisonous","Venomous","Cursed","Flaming","Fiery","Frozen","Ancient","Unholy","Kingly","Enchanted","Silver","Golden","Jade","Onyx","Shadowy","Trusty","Haunted","Demonic")>>\
<<set $postarmormod2 = either("of Doom","of Chaos","of Destiny","of Death","of Destruction","of the King","of the Queen","of the Knight","of Darkness","of the Wizard","of Infinity","of Flame","of the Warchief","of Wickendness","of Warding","of Protection","of the Light","of Evil","of Shadows","of Giants")>>\
<<set $armor3 = either("Hide Armor","Leather Armor","Studded Armor","Padded Armor","Chain Mail","Dragon Scale Armor","Half Plate","Plate Armor","Ring Mail","Iron Suit")>>\
<<set $armormod3 = either("Holy","Bloody","Beautiful","Crude","Invincible","Magical","Primitive","Sacred","Superior","Impenetrable","Deadly","Poisonous","Venomous","Cursed","Flaming","Fiery","Frozen","Ancient","Unholy","Kingly","Enchanted","Silver","Golden","Jade","Onyx","Shadowy","Trusty","Haunted","Demonic")>>\
<<set $postarmormod3 = either("of Doom","of Chaos","of Destiny","of Death","of Destruction","of the King","of the Queen","of the Knight","of Darkness","of the Wizard","of Infinity","of Flame","of the Warchief","of Wickendness","of Warding","of Protection","of the Light","of Evil","of Shadows","of Giants")>>\
<<set $weaponmod4 = either("Holy","Atomic","Humongous","Bloody","Broken","Beautiful","Crude","Invincible","Tiny","Magical","Primitive","Sacred","Superior","Wooden","Powerful","Lethal","Secret","Ultimate","Devastating","Deadly","Poisonous","Venomous","Cursed","Flaming","Fiery","Frozen","Ancient","Unholy","Kingly","Enchanted","Silver","Golden","Jade","Onyx","Shadowy","Trusty","Haunted","Demonic")>>\
<<set $postweaponmod4 = either("of Doom","of Chaos","of Destiny","of Death","of Destruction","of the King","of the Queen","of the Knight","of Darkness","of the Wizard","of Infinity","of Flame","of the Warchief","of Wickendness","of Warding","of Giants","of Protection","of the Light","of Evil","of Shadows")>>\
<<set $weapon4 = either("Dagger","Rapier","Scimitar","Whip","Slingshot","Shortbow","Staff","Pike","Knife","Battle Axe","Club","Axe","Javelin","Spear","Halberd","Greatsword","Broadsword","Hammer","Sickle","Lance","Longsword","Longbow","Trident","Mace","Morningstar","Warhammer","Maul","Flail","Greataxe")>>\
<<set $weaponmod5 = either("Holy","Atomic","Humongous","Bloody","Broken","Beautiful","Crude","Invincible","Tiny","Magical","Primitive","Sacred","Superior","Wooden","Powerful","Lethal","Secret","Ultimate","Devastating","Deadly","Poisonous","Venomous","Cursed","Flaming","Fiery","Frozen","Ancient","Unholy","Kingly","Enchanted","Silver","Golden","Jade","Onyx","Shadowy","Trusty","Haunted","Demonic")>>\
<<set $postweaponmod5 = either("of Doom","of Chaos","of Destiny","of Death","of Destruction","of the King","of the Queen","of the Knight","of Darkness","of the Wizard","of Infinity","of Flame","of the Warchief","of Villains","of Warding","of Giants","of Protection","of the Light","of Evil","of Shadows")>>\
<<set $weapon5 = either("Dagger","Rapier","Scimitar","Whip","Slingshot","Shortbow","Staff","Pike","Knife","Battle Axe","Club","Axe","Javelin","Spear","Halberd","Greatsword","Broadsword","Hammer","Sickle","Lance","Longsword","Longbow","Trident","Mace","Morningstar","Warhammer","Maul","Flail","Greataxe")>>\
<<set $weaponmod6 = either("Holy","Atomic","Humongous","Bloody","Broken","Beautiful","Crude","Invincible","Tiny","Magical","Primitive","Sacred","Superior","Wooden","Powerful","Lethal","Secret","Ultimate","Devastating","Deadly","Poisonous","Venomous","Cursed","Flaming","Fiery","Frozen","Ancient","Unholy","Kingly","Enchanted","Silver","Golden","Jade","Onyx","Shadowy","Trusty","Haunted","Demonic")>>\
<<set $postweaponmod6 = either("of Doom","of Chaos","of Destiny","of Death","of Destruction","of the King","of the Queen","of the Knight","of Darkness","of the Wizard","of Infinity","of Flame","of the Warchief","of Villains","of Warding","of Giants","of Protection","of the Light","of Evil","of Shadow")>>\
<<set $weapon6 = either("Dagger","Rapier","Scimitar","Whip","Slingshot","Shortbow","Staff","Pike","Knife","Battle Axe","Club","Axe","Javelin","Spear","Halberd","Greatsword","Broadsword","Hammer","Sickle","Lance","Longsword","Longbow","Trident","Mace","Morningstar","Warhammer","Maul","Flail","Greataxe")>>\
<<set $weaponmod7 = either("Holy","Atomic","Humongous","Bloody","Broken","Beautiful","Crude","Invincible","Tiny","Magical","Primitive","Sacred","Superior","Wooden","Powerful","Lethal","Secret","Ultimate","Devastating","Deadly","Poisonous","Venomous","Cursed","Flaming","Fiery","Frozen","Ancient","Unholy","Kingly","Enchanted","Silver","Golden","Jade","Onyx","Shadowy","Trusty","Haunted","Demonic")>>\
<<set $postweaponmod7 = either("of Doom","of Chaos","of Destiny","of Death","of Destruction","of the King","of the Queen","of the Knight","of Darkness","of the Wizard","of Infinity","of Flame","of the Warchief","of Villains","of Warding","of Giants","of Protection","of the Light","of Evil","of Shadow")>>\
<<set $weapon7 = either("Dagger","Rapier","Scimitar","Whip","Slingshot","Shortbow","Staff","Pike","Knife","Battle Axe","Club","Axe","Javelin","Spear","Halberd","Greatsword","Broadsword","Hammer","Sickle","Lance","Longsword","Longbow","Trident","Mace","Morningstar","Warhammer","Maul","Flail","Greataxe")>>\
<<set $weaponmod8 = either("Holy","Atomic","Humongous","Bloody","Broken","Beautiful","Crude","Invincible","Tiny","Magical","Primitive","Sacred","Superior","Wooden","Powerful","Lethal","Secret","Ultimate","Devastating","Deadly","Poisonous","Venomous","Cursed","Flaming","Fiery","Frozen","Ancient","Unholy","Kingly","Enchanted","Silver","Golden","Jade","Onyx","Shadowy","Trusty","Haunted","Demonic")>>\
<<set $postweaponmod8 = either("of Doom","of Chaos","of Destiny","of Death","of Destruction","of the King","of the Queen","of the Knight","of Darkness","of the Wizard","of Infinity","of Flame","of the Warchief","of Villains","of Warding","of Giants","of Protection","of the Light","of Evil","of Shadow")>>\
<<set $weapon8 = either("Dagger","Rapier","Scimitar","Whip","Slingshot","Shortbow","Staff","Pike","Knife","Battle Axe","Club","Axe","Javelin","Spear","Halberd","Greatsword","Broadsword","Hammer","Sickle","Lance","Longsword","Longbow","Trident","Mace","Morningstar","Warhammer","Maul","Flail","Greataxe")>>\
<<set $weaponmod9 = either("Holy","Atomic","Humongous","Bloody","Broken","Beautiful","Crude","Invincible","Tiny","Magical","Primitive","Sacred","Superior","Wooden","Powerful","Lethal","Secret","Ultimate","Devastating","Deadly","Poisonous","Venomous","Cursed","Flaming","Fiery","Frozen","Ancient","Unholy","Kingly","Enchanted","Silver","Golden","Jade","Onyx","Shadowy","Trusty","Haunted","Demonic")>>\
<<set $postweaponmod9 = either("of Doom","of Chaos","of Destiny","of Death","of Destruction","of the King","of the Queen","of the Knight","of Darkness","of the Wizard","of Infinity","of Flame","of the Warchief","of Villains","of Warding","of Giants","of Protection","of the Light","of Evil","of Shadow")>>\
<<set $weapon9 = either("Dagger","Rapier","Scimitar","Whip","Slingshot","Shortbow","Staff","Pike","Knife","Battle Axe","Club","Axe","Javelin","Spear","Halberd","Greatsword","Broadsword","Hammer","Sickle","Lance","Longsword","Longbow","Trident","Mace","Morningstar","Warhammer","Maul","Flail","Greataxe")>>\
<<set $armor4 = either("Hide Armor","Leather Armor","Studded Armor","Padded Armor","Chain Mail","Dragon Scale Armor","Half Plate","Plate Armor","Ring Mail","Iron Suit")>>\
<<set $armormod4 = either("Holy","Bloody","Beautiful","Crude","Invincible","Magical","Primitive","Sacred","Superior","Impenetrable","Deadly","Poisonous","Venomous","Cursed","Flaming","Fiery","Frozen","Ancient","Unholy","Kingly","Enchanted","Silver","Golden","Jade","Onyx","Shadowy","Trusty","Haunted","Demonic")>>\
<<set $postarmormod4 = either("of Doom","of Chaos","of Destiny","of Death","of Destruction","of the King","of the Queen","of the Knight","of Darkness","of the Wizard","of Infinity","of Flame","of the Warchief","of Wickendness","of Warding","of Protection","of the Light","of Evil","of Shadow","of Giants")>>\
<<set $armor5 = either("Hide Armor","Leather Armor","Studded Armor","Padded Armor","Chain Mail","Dragon Scale Armor","Half Plate","Plate Armor","Ring Mail","Iron Suit")>>\
<<set $armormod5 = either("Holy","Bloody","Beautiful","Crude","Invincible","Magical","Primitive","Sacred","Superior","Impenetrable","Deadly","Poisonous","Venomous","Cursed","Flaming","Fiery","Frozen","Ancient","Unholy","Kingly","Enchanted","Silver","Golden","Jade","Onyx","Shadowy","Trusty","Haunted","Demonic")>>\
<<set $postarmormod5 = either("of Doom","of Chaos","of Destiny","of Death","of Destruction","of the King","of the Queen","of the Knight","of Darkness","of the Wizard","of Infinity","of Flame","of the Warchief","of Wickendness","of Warding","of Protection","of the Light","of Evil","of Shadow","of Giants")>>\
<<set $armor6 = either("Hide Armor","Leather Armor","Studded Armor","Padded Armor","Chain Mail","Dragon Scale Armor","Half Plate","Plate Armor","Ring Mail","Iron Suit")>>\
<<set $armormod6 = either("Holy","Bloody","Beautiful","Crude","Invincible","Magical","Primitive","Sacred","Superior","Impenetrable","Deadly","Poisonous","Venomous","Cursed","Flaming","Fiery","Frozen","Ancient","Unholy","Kingly","Enchanted","Silver","Golden","Jade","Onyx","Shadowy","Trusty","Haunted","Demonic")>>\
<<set $postarmormod6 = either("of Doom","of Chaos","of Destiny","of Death","of Destruction","of the King","of the Queen","of the Knight","of Darkness","of the Wizard","of Infinity","of Flame","of the Warchief","of Wickendness","of Warding","of Protection","of the Light","of Evil","of Shadow","of Giants")>>\
<<set $weaponmod15 = either("Holy","Atomic","Humongous","Bloody","Broken","Beautiful","Crude","Invincible","Tiny","Magical","Primitive","Sacred","Superior","Wooden","Powerful","Lethal","Secret","Ultimate","Devastating","Deadly","Poisonous","Venomous","Cursed","Flaming","Fiery","Frozen","Ancient","Unholy","Kingly","Enchanted","Silver","Golden","Jade","Onyx","Shadowy","Trusty","Haunted","Demonic")>>\
<<set $postweaponmod15 = either("of Doom","of Chaos","of Destiny","of Death","of Destruction","of the King","of the Queen","of the Knight","of Darkness","of the Wizard","of Infinity","of Flame","of the Warchief","of Wickedness","of Warding","of Giants","of Protection","of the Light","of Evil","of Shadows")>>\
<<set $weapon15 = either("Dagger","Rapier","Scimitar","Whip","Slingshot","Shortbow","Staff","Pike","Knife","Battle Axe","Club","Axe","Javelin","Spear","Halberd","Greatsword","Broadsword","Hammer","Sickle","Lance","Longsword","Longbow","Trident","Mace","Morningstar","Warhammer","Maul","Flail","Greataxe")>>\
</div>\
<<set $adventure = 0>>\
<<set $header = 1>>\<table style="width:100%; table-layout: fixed;">
<tr>
<td>Your HP</td>
<td><<display 'hpbar'>></td>
<td>$hp/$maxHP</td>
</tr>
<tr>
<td>Enemy HP</td>
<td><<display 'ehpbar'>></td>
<td>$ehp/$maxehp</td>
</tr>
</table><<if $hp == $maxHP>>\
<progress value="100" max="100">
</progress>
<<elseif ($hp gte (.75 * $maxHP)) and ($hp lte (1 * $maxHP))>>\
<progress value="75" max="100">
</progress>
<<elseif ($hp gte (.50 * $maxHP)) and ($hp lte (.75 * $maxHP))>>\
<progress value="50" max="100">
</progress>
<<elseif ($hp gte (.25 * $maxHP)) and ($hp lte (.50 * $maxHP))>>\
<progress value="25" max="100">
</progress>
<<elseif $hp lte 0>>\
<progress value="0" max="100">
</progress>
<<else>>\
<progress value="5" max="100">
</progress>
<</if>>\<b>HP:</b> $hp/$maxHP
<<display 'hpbar'>>
Level: $level<br>
<u>Items:</u>
Gold: $gold
Pizza: $pizza
Weapon: $weap
Armor: $armor
Shield: $shield
<<print $inventory.join("\n")>><<if $ehp == $maxehp>>\
<progress value="100" max="100">
</progress>
<<elseif ($ehp gte (.75 * $maxehp)) and ($ehp lte (1 * $maxehp))>>\
<progress value="75" max="100">
</progress>
<<elseif ($ehp gte (.50 * $maxehp)) and ($ehp lte (.75 * $maxehp))>>\
<progress value="50" max="100">
</progress>
<<elseif ($ehp gte (.25 * $maxehp)) and ($ehp lte (.50 * $maxehp))>>\
<progress value="25" max="100">
</progress>
<<elseif $ehp lte 0>>\
<progress value="0" max="100">
</progress>
<<else>>\
<progress value="5" max="100">
</progress>
<</if>>\
<<run UI.restart()>>\
[[Restart][state.restart()]]<div style="text-align: center;">\
HP: <font color="pink">$hp/$maxHP</font> | Level: <font color="lightgreen">$level</font> | Gold: <font color="yellow">$gold</font>
MP: <font color="lightblue">$mp/$maxmp</font> | Attack: <font color="red">$atkpwr</font> | Defense: <font color="orange">$def</font>
</div>\<div style="text-align: center;">\
<<if $gold gte 6>>\
<<set $gold -= 6>>\
<<set $pizza += 1>>\
You bought a slice of healing pizza!<br>
[[Continue|Tavern]]
<<else>>\
You don't have enough gold!<br>
[[Continue|Tavern]]
<</if>>\
</div>\<div style="text-align: center;">\
<u>Items</u>
Gold: $gold
<<if $town == "town1">>\
<table style="width:100%">
<tr>
<td>Item</td>
<td>Properties</td>
<td>Cost</td>
</tr>
<tr>
<td>[[Holy Amulet|A holy amulet (+5 HP) - 60 gold]]</td>
<td>+5 HP</td>
<td>60gp</td>
</tr>
<tr>
<td>[[Lucky Charm|A lucky charm (+1 defense) - 95 gold]]</td>
<td>+1 ARMOR</td>
<td>95gp</td>
</tr>
<tr>
<td>[[Strength Ring|A strength ring (+2 attack) - 100 gold]]</td>
<td>+2 STR</td>
<td>100gp</td>
</tr>
</table>
<<elseif $town == "town2">>\
<table style="width:100%">
<tr>
<td>Item</td>
<td>Properties</td>
<td>Cost</td>
</tr>
<tr>
<td>[[Boots of Speed]]</td>
<td>+2 SPEED</td>
<td>120gp</td>
</tr>
<tr>
<td>[[Spellbook]]</td>
<td>+5 MAGIC</td>
<td>150gp</td>
</tr>
<tr>
<td>[[Power Gauntlets]]</td>
<td>+3 STR</td>
<td>175gp</td>
</tr>
</table>
<<else>>\
<table style="width:100%">
<tr>
<td>Item</td>
<td>Properties</td>
<td>Cost</td>
</tr>
<tr>
<td>[[Cape of Invisibility]]</td>
<td>+3 SPEED</td>
<td>200gp</td>
</tr>
<tr>
<td>[[Ring of Protection]]</td>
<td>+3 ARMOR</td>
<td>250gp</td>
</tr>
<tr>
<td>[[Crown of the Barbarian Kings]]</td>
<td>+5 ALL STATS</td>
<td>350gp</td>
</tr>
</table>
<</if>>\
[[Back|Shop]]
</div>\<div style="text-align: center;">\
Gold: $gold<br>
You are standing in the tavern. What do you want to do?<br>
<table style="width:100%; table-layout: fixed;">
<tr>
<td>[[Rest - 3gp]]</td>
<td>[[Buy pizza - 6gp]]</td>
</tr>
<tr>
<td>[[Buy Beer - 8gp]]</td>
<td><<if $town == "town1">>[[Leave|Town 1]]<</if>><<if $town == "town2">>[[Leave|Town 2]]<</if>><<if $town == "town3">>[[Leave|Town 3]]<</if>></td>
</tr>
</table>
</div>\<div style="text-align: center;">\
<<if $inventory.indexOf("Holy Amulet") gte 0>>\
You already have one of those!<br>
[[Continue|Buy items]]
<<else>>\
<<if $gold gte 60>>\
<<set $gold -= 60>>\
<<set $hp += 5>>\
<<set $maxHP += 5>>\
<<set $inventory.push("Holy Amulet")>>\
Purchased Holy Amulet. Max HP increased by 5!<br>
[[Continue|Buy items]]
<<else>>\
You don't have enough gold!<br>
[[Continue|Buy items]]
<</if>>\
<</if>>\
</div>\<div style="text-align: center;">\
<<if $inventory.indexOf("Lucky charm") gte 0>>\
You already have one of those!<br>
[[Continue|Buy items]]
<<else>>\
<<if $gold gte 95>>\
<<set $gold -= 95>>\
<<set $basedef += 1>>\
<<set $def = $basedef + $helm + $arm + $sd>>\
<<set $inventory.push("Lucky charm")>>\
Purchased a Lucky Charm. Defense increased by 1!<br>
[[Continue|Buy items]]
<<else>>\
You don't have enough gold!<br>
[[Continue|Buy items]]
<</if>>\
<</if>>\
</div>\<div style="text-align: center;">\
<<if $inventory.indexOf("Strength Ring") gte 0>>\
You already have one of those!<br>
[[Continue|Buy items]]
<<else>>\
<<if $gold gte 100>>\
<<set $gold -= 100>>\
<<set $atk += 2>>\
<<set $atkpwr = $sword + $atk>>\
<<set $inventory.push("Strength Ring")>>\
Purchased a Strength Ring. Attack power increased by 2!<br>
[[Continue|Buy items]]
<<else>>\
You don't have enough gold!<br>
[[Continue|Buy items]]
<</if>>\
<</if>>\
</div>\<<set $atk = 3>>\
<<set $speed = 2>>\
<<set $mp = 1>>\
<<set $maxmp = 1>>\
<<set $atkpwr = $sword + $atk>>\
<<set $class = "Barbarian">>\
<div style="text-align: center;">\
Character selection complete.<br>
[[READY PLAYER ONE]]
</div>\
<<set $weap = "Club">>\
<<set $shield = "Wooden shield">>\<<set $atk = 2>>\
<<set $speed = 1>>\
<<set $mp = 3>>\
<<set $maxmp = 3>>\
<<set $atkpwr = $sword + $atk>>\
<<set $class = "Spellslinger">>\
<div style="text-align: center;">\
Character selection complete.<br>
[[READY PLAYER ONE]]
</div>\
<<set $weap = "Knife">>\
<<set $shield = "Wooden shield">>\<<set $atk = 1>>\
<<set $speed = 3>>\
<<set $mp = 2>>\
<<set $maxmp = 2>>\
<<set $class = "Shadow">>\
<<set $atkpwr = $sword + $atk>>\
<div style="text-align: center;">\
Character selection complete.<br>
[[READY PLAYER ONE]]
</div>\
<<set $weap = "Knife">>\
<<set $shield = "Wooden shield">>\Life as a firefighter is difficult in Azmar. Most of the fires you deal with are magical in nature- the results of failed wizard experiments or dragon attacks, for example. But you serve happily and you are well rewarded for your efforts.<br>
[[Continue|wlek]]<div style="text-align: center;">\
<u>Armor</u>
Gold: $gold
<<if $town == "town1">>\
<table style="width:100%">
<tr>
<td>Armor</td>
<td>Defense</td>
<td>Penalty</td>
<td>Cost</td>
<td></td>
</tr>
<tr>
<td>$armormod1 $armor1 $postarmormod1</td>
<td><<if $arm gte 1>><font color="#e95065">1 ← $arm</font><<else>><font color="#52d273">$arm → 1</font><</if>></td>
<td>-</td>
<td>30gp</td>
<td>[[Buy|Leather armor]]</td>
</tr>
<tr>
<td>$armormod2 $armor2 $postarmormod2</td>
<td><<if $arm gte 2>><font color="#e95065">2 ← $arm</font><<else>><font color="#52d273">$arm → 2</font><</if>></td>
<td>-</td>
<td>50gp</td>
<td>[[Buy|Chain mail]]</td>
</tr>
</table>
[[Back|Shop]]
<<elseif $town == "town2">>\
<table style="width:100%">
<tr>
<td>Armor</td>
<td>Defense</td>
<td>Penalty</td>
<td>Cost</td>
<td></td>
</tr>
<tr>
<td>$armormod3 $armor3 $postarmormod3</td>
<td><<if $arm gte 3>><font color="#e95065">3 ← $arm</font><<else>><font color="#52d273">$arm → 3</font><</if>></td>
<td>-1 speed</td>
<td>80gp</td>
<td>[[Buy|Half plate]]</td>
</tr>
<tr>
<td>$armormod4 $armor4 $postarmormod4</td>
<td><<if $arm gte 5>><font color="#e95065">5 ← $arm</font><<else>><font color="#52d273">$arm → 5</font><</if>></td>
<td>-3 speed</td>
<td>120gp</td>
<td>[[Buy|Full plate]]</td>
</tr>
</table>
[[Back|Shop]]
<<else>>\
<table style="width:100%">
<tr>
<td>Armor</td>
<td>Defense</td>
<td>Penalty</td>
<td>Cost</td>
<td></td>
</tr>
<tr>
<td>$armormod5 $armor5 $postarmormod5</td>
<td><<if $arm gte 6>><font color="#e95065">6 ← $arm</font><<else>><font color="#52d273">$arm → 6</font><</if>></td>
<td>-2 speed</td>
<td>150gp</td>
<td>[[Buy|Dragon scale]]</td>
</tr>
<tr>
<td>$armormod6 $armor6 $postarmormod6</td>
<td><<if $arm gte 7>><font color="#e95065">7 ← $arm</font><<else>><font color="#52d273">$arm → 7</font><</if>></td>
<td>-</td>
<td>200gp</td>
<td>[[Buy|Magic Armor]]</td>
</tr>
</table>
[[Back|Shop]]
<</if>>\
</div><div style="text-align: center;">\
<u>Shields</u>
Gold: $gold
<table style="width:100%">
<tr>
<td>Shield</td>
<td>Defense</td>
<td>Penalty</td>
<td>Cost</td>
</tr>
<tr>
<td>[[Small shield]]</td>
<td><<if $sd gte 1>><font color="#e95065">1 ← $sd</font><<else>><font color="#52d273">$sd → 1</font><</if>></td>
<td>-</td>
<td>20gp</td>
</tr>
<tr>
<td>[[Large shield]]</td>
<td><<if $sd gte 3>><font color="#e95065">3 ← $sd</font><<else>><font color="#52d273">$sd → 3</font><</if>></td>
<td>-1 speed</td>
<td>40gp</td>
</tr>
<tr>
<td>[[Magic shield]]</td>
<td><<if $sd gte 5>><font color="#e95065">5 ← $sd</font><<else>><font color="#52d273">$sd → 5</font><</if>></td>
<td>-</td>
<td>100gp</td>
</tr>
</table>
[[Back|Shop]]
</div><div style="text-align: center;">\
<<if $sd gte 1>>\
This item is useless to you!<br>
[[Back|Shields]]
<<else>>\
A small shield will increase your shield defense:
$sd → 1
Buy a small shield for 20 gold?<br>
[[Buy|buysmallshield]]
[[Back|Shields]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $sd gte 3>>\
This item is useless to you!<br>
[[Back|Shields]]
<<else>>\
A large shield will increase your shield defense:
$sd → 3
Buy a large shield for 40 gold?<br>
[[Buy|buylargeshield]]
[[Back|Shields]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $sd gte 5>>\
This item is useless to you!<br>
[[Back|Shields]]
<<else>>\
A magic shield will increase your shield defense:
$sd → 5
Buy a magic shield for 100 gold?<br>
[[Buy|buymagicshield]]
[[Back|Shields]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $arm gte 1>>\
This item is useless to you!<br>
[[Back|Armor]]
<<else>>\
Buy $armormod1 $armor1 $postarmormod1 for 30 gold?<br>
[[Buy|buyleather]]
[[Back|Armor]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $arm gte 2>>\
This item is useless to you!<br>
[[Back|Armor]]
<<else>>\
Buy $armormod2 $armor2 $postarmormod2 for 50 gold?<br>
[[Buy|buychain]]
[[Back|Armor]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $arm gte 3>>\
This item is useless to you!<br>
[[Back|Armor]]
<<else>>\
Buy $armormod3 $armor3 $postarmormod3 for 80 gold?<br>
[[Buy|buyhalf]]
[[Back|Armor]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $arm gte 5>>\
This item is useless to you!<br>
[[Back|Armor]]
<<else>>\
Buy $armormod4 $armor4 $postarmormod4 for 120 gold?<br>
[[Buy|buyfull]]
[[Back|Armor]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $arm gte 6>>\
This item is useless to you!<br>
[[Back|Armor]]
<<else>>\
Buy $armormod5 $armor5 $postarmormod5 for 150 gold?<br>
[[Buy|buydragon]]
[[Back|Armor]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $arm gte 7>>\
This item is useless to you!<br>
[[Back|Armor]]
<<else>>\
Buy $armormod6 $armor6 $postarmormod6 for 200 gold?<br>
[[Buy|buymagicarmor]]
[[Back|Armor]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 3>>\
<<set $gold -= 3>>\
<<set $hp = $maxHP>>\
<<set $mp = $maxmp>>\
You spend the night. HP restored!<br>
[[Continue|Tavern]]
<<else>>\
You don't have enough gold!<br>
[[Continue|Tavern]]
<</if>>\
</div>\<div style="text-align: center;">\
<<set $town = "town1">>\
You are standing in the middle of town.<br>
[[Shop]]
[[Tavern]]
[[Visit the museum|Quest 1]]
[[Leave]]
</div>\<div style="text-align: center;">\
<<set $town = "town2">>\
You are standing in the middle of town.<br>
[[Shop]]
[[Tavern]]
<<if visited("A group of demons invaded the Jungle. They trapped the spirits, enslaved the Ikkagu, and killed Thuridan. But I defeated them and saved the Ikkagu.")>>\
[[Speak with the villagers]]
<<else>>\
[[Speak with the villagers|Quest 2]]
<</if>>\
[[Leave]]
</div>\<div style="text-align: center;">\
<<set $town = "town3">>\
You are standing in the middle of town.<br>
[[Shop]]
[[Tavern]]
<<if visited("jlkg")>>\
[[Visit the wizard's tower]]
<<else>>\
[[Visit the wizard's tower|Quest 3]]
<</if>>\
[[Leave]]
</div>\<div style="text-align: center;">\
<u>Shop</u>
Gold: $gold
<table style="width:100%">
<tr>
<td>[[Weapons]]</td>
<td>[[Armor]]</td>
</tr>
<tr>
<td>[[Shields]]</td>
<td>[[Items|Buy items]]</td>
</tr>
</table>
<<if $town == "town1">>[[Leave|Town 1]]<</if>><<if $town == "town2">>[[Leave|Town 2]]<</if>><<if $town == "town3">>[[Leave|Town 3]]<</if>>
</div>\<<if $monsters == 0>>\
<<set $round = 1>>\
Defeat 5 opponents in the arena to win a fabulous prize!<br>
[[Fight]]
<<if $town == "town1">>[[Leave|Town 1]]<</if>><<if $town == "town2">>[[Leave|Town 2]]<</if>><<if $town == "town3">>[[Leave|Town 3]]<</if>>
<<elseif $monsters == 5>>\
<<set $monsters -= 5>>\
<<set $round = 1>>\
Congratulations, you have defeated 5 opponents in a row! You earned a prize!<br>
<<link 'Claim reward' `either('wingold','winmp','winstr','winspeed','winhp')`>><</link>>
<<else>>\
<<goto 'Fight'>>\
<</if>>\You return to the signpost. Which way will you go?<br>
[[Littleleaf village]]
[[Red Hawk village]]
[[Irongate]]
[[Sunrise Peak]]<div style="text-align: center;">\
<u>Weapons</u>
Gold: $gold
<<if $town == "town1">>\
<table style="width:100%">
<tr>
<td>Weapon</td>
<td>Damage</td>
<td>Cost</td>
<td></td>
</tr>
<tr>
<td>$weaponmod1 $weapon1 $postweaponmod1</td>
<td><<if $sword gte 2>><font color="#e95065">2 ← $sword</font><<else>><font color="#52d273">$sword → 2</font><</if>></td>
<td>20gp</td>
[[Buy|Dagger]]
</tr>
<tr>
<td>$weaponmod2 $weapon2 $postweaponmod2</td>
<td><<if $sword gte 3>><font color="#e95065">3 ← $sword</font><<else>><font color="#52d273">$sword → 3</font><</if>></td>
<td>30gp</td>
<td>[[Buy|Staff]]</td>
</tr>
<tr>
<td>$weaponmod3 $weapon3 $postweaponmod3</td>
<td><<if $sword gte 5>><font color="#e95065">5 ← $sword</font><<else>><font color="#52d273">$sword → 5</font><</if>></td>
<td>45gp</td>
<td>[[Buy|Short Sword]]</td>
</tr>
</table>
[[Back|Shop]]
<<elseif $town == "town2">>\
<table style="width:100%">
<tr>
<td>Weapon</td>
<td>Damage</td>
<td>Cost</td>
<td></td>
</tr>
<tr>
<td>$weaponmod4 $weapon4 $postweaponmod4</td>
<td><<if $sword gte 6>><font color="#e95065">6 ← $sword</font><<else>><font color="#52d273">$sword → 6</font><</if>></td>
<td>55gp</td>
<td>[[Buy|Spear]]</td>
</tr>
<tr>
<td>$weaponmod5 $weapon5 $postweaponmod5</td>
<td><<if $sword gte 8>><font color="#e95065">8 ← $sword</font><<else>><font color="#52d273">$sword → 8</font><</if>></td>
<td>70gp</td>
<td>[[Buy|Saber]]</td>
</tr>
<tr>
<td>$weaponmod6 $weapon6 $postweaponmod6</td>
<td><<if $sword gte 11>><font color="#e95065">11 ← $sword</font><<else>><font color="#52d273">$sword → 11</font><</if>></td>
<td>90gp</td>
<td>[[Buy|Broadsword]]</td>
</tr>
</table>
[[Back|Shop]]
<<else>>\
<table style="width:100%">
<tr>
<td>Weapon</td>
<td>Damage</td>
<td>Cost</td>
<td></td>
</tr>
<tr>
<td>$weaponmod7 $weapon7 $postweaponmod7</td>
<td><<if $sword gte 14>><font color="#e95065">14 ← $sword</font><<else>><font color="#52d273">$sword → 14</font><</if>></td>
<td>110gp</td>
<td>[[Buy|Battle Axe]]</td>
</tr>
<tr>
<td>$weaponmod8 $weapon8 $postweaponmod8</td>
<td><<if $sword gte 16>><font color="#e95065">16 ← $sword</font><<else>><font color="#52d273">$sword → 16</font><</if>></td>
<td>120gp</td>
<td>[[Buy|Warhammer]]</td>
</tr>
<tr>
<td>$weaponmod9 $weapon9 $postweaponmod9</td>
<td><<if $sword gte 20>><font color="#e95065">20 ← $sword</font><<else>><font color="#52d273">$sword → 20</font><</if>></td>
<td>150gp</td>
<td>[[Buy|Magic Sword]]</td>
</tr>
</table>
[[Back|Shop]]
<</if>>\
</div><div style="text-align: center;">\
<<if $sword gte 2>>\
This item is useless to you!<br>
[[Back|Weapons]]<br>
<br>
<<else>>\
Buy $weaponmod1 $weapon1 $postweaponmod1 for 20 gold?<br>
[[Buy|buydagger]]
[[Back|Weapons]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $sword gte 3>>\
This item is useless to you!<br>
[[Back|Weapons]]<br>
<br>
<<else>>\
Buy $weaponmod2 $weapon2 $postweaponmod2 for 30 gold?<br>
[[Buy|buystaff]]
[[Back|Weapons]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $sword gte 5>>\
This item is useless to you!<br>
[[Back|Weapons]]<br>
<br>
<<else>>\
Buy $weaponmod3 $weapon3 $postweaponmod3 for 45 gold?<br>
[[Buy|buyshortsword]]
[[Back|Weapons]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $sword gte 6>>\
This item is useless to you!<br>
[[Back|Weapons]]<br>
<br>
<<else>>\
Buy $weaponmod4 $weapon4 $postweaponmod4 for 55 gold?<br>
[[Buy|buyspear]]
[[Back|Weapons]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $sword gte 8>>\
This item is useless to you!<br>
[[Back|Weapons]]<br>
<br>
<<else>>\
Buy $weaponmod5 $weapon5 $postweaponmod5 for 70 gold?<br>
[[Buy|buysaber]]
[[Back|Weapons]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $sword gte 11>>\
This item is useless to you!<br>
[[Back|Weapons]]<br>
<br>
<<else>>\
Buy $weaponmod6 $weapon6 $postweaponmod6 for 90 gold?<br>
[[Buy|buybroadsword]]
[[Back|Weapons]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $sword gte 14>>\
This item is useless to you!<br>
[[Back|Weapons]]<br>
<br>
<<else>>\
Buy $weaponmod7 $weapon7 $postweaponmod7 for 110 gold?<br>
[[Buy|buybattleaxe]]
[[Back|Weapons]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $sword gte 16>>\
This item is useless to you!<br>
[[Back|Weapons]]<br>
<br>
<<else>>\
Buy $weaponmod8 $weapon8 $postweaponmod8 for 120 gold?<br>
[[Buy|buywarhammer]]
[[Back|Weapons]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $sword gte 20>>\
This item is useless to you!<br>
[[Back|Weapons]]<br>
<br>
<<else>>\
Buy $weaponmod9 $weapon9 $postweaponmod9 for 150 gold?<br>
[[Buy|buymagicsword]]
[[Back|Weapons]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 20>>\
<<set $gold -= 20>>\
<<set $weap = "$weaponmod1 $weapon1 $postweaponmod1">>\
<<set $sword = 2>>\
<<set $atkpwr = $sword + $atk>>\
Purchased $weaponmod1 $weapon1 $postweaponmod1
Attack power: $atkpwr<br>
[[Continue|Weapons]]<br>
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Weapons]]<br>
<br>
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 30>>\
<<set $gold -= 30>>\
<<set $weap = "$weaponmod2 $weapon2 $postweaponmod2">>\
<<set $sword = 3>>\
<<set $atkpwr = $sword + $atk>>\
Purchased $weaponmod2 $weapon2 $postweaponmod2
Attack power: $atkpwr<br>
[[Continue|Weapons]]<br>
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Weapons]]<br>
<br>
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 45>>\
<<set $gold -= 45>>\
<<set $weap = "$weaponmod3 $weapon3 $postweaponmod3">>\
<<set $sword = 5>>\
<<set $atkpwr = $sword + $atk>>\
Purchased $weaponmod3 $weapon3 $postweaponmod3
Attack power: $atkpwr<br>
[[Continue|Weapons]]<br>
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Weapons]]<br>
<br>
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 55>>\
<<set $gold -= 55>>\
<<set $weap = "$weaponmod4 $weapon4 $postweaponmod4">>\
<<set $sword = 6>>\
<<set $atkpwr = $sword + $atk>>\
Purchased $weaponmod4 $weapon4 $postweaponmod4
Attack power: $atkpwr<br>
[[Continue|Weapons]]<br>
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Weapons]]<br>
<br>
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 70>>\
<<set $gold -= 70>>\
<<set $weap = "$weaponmod5 $weapon5 $postweaponmod5">>\
<<set $sword = 8>>\
<<set $atkpwr = $sword + $atk>>\
Purchased $weaponmod5 $weapon5 $postweaponmod5
Attack power: $atkpwr<br>
[[Continue|Weapons]]<br>
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Weapons]]<br>
<br>
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 90>>\
<<set $gold -= 90>>\
<<set $weap = "$weaponmod6 $weapon6 $postweaponmod6">>\
<<set $sword = 11>>\
<<set $atkpwr = $sword + $atk>>\
Purchased $weaponmod6 $weapon6 $postweaponmod6
Attack power: $atkpwr<br>
[[Continue|Weapons]]<br>
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Weapons]]<br>
<br>
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 110>>\
<<set $gold -= 110>>\
<<set $weap = "$weaponmod7 $weapon7 $postweaponmod7">>\
<<set $sword = 14>>\
<<set $atkpwr = $sword + $atk>>\
Purchased $weaponmod7 $weapon7 $postweaponmod7
Attack power: $atkpwr<br>
[[Continue|Weapons]]<br>
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Weapons]]<br>
<br>
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 120>>\
<<set $gold -= 120>>\
<<set $weap = "$weaponmod8 $weapon8 $postweaponmod8">>\
<<set $sword = 16>>\
<<set $atkpwr = $sword + $atk>>\
Purchased $weaponmod8 $weapon8 $postweaponmod8
Attack power: $atkpwr<br>
[[Continue|Weapons]]<br>
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Weapons]]<br>
<br>
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 150>>\
<<set $gold -= 150>>\
<<set $weap = "$weaponmod9 $weapon9 $postweaponmod9">>\
<<set $sword = 20>>\
<<set $atkpwr = $sword + $atk>>\
Purchased $weaponmod9 $weapon9 $postweaponmod9
Attack power: $atkpwr<br>
[[Continue|Weapons]]<br>
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Weapons]]<br>
<br>
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 20>>\
<<set $gold -= 20>>\
<<set $shield = "Small Shield">>\
<<set $shieldpenalty = 0>>\
<<set $sd = 1>>\
<<set $def = $basedef + $arm + $sd>>\
You bought a small shield! Total defense: $def<br>
[[Continue|Shields]]
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Shields]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 40>>\
<<set $gold -= 40>>\
<<set $shield = "Large Shield">>\
<<set $sd = 3>>\
<<set $shieldpenalty = 1>>\
<<set $def = $basedef + $arm + $sd>>\
You bought a large shield! Total defense: $def<br>
[[Continue|Shields]]
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Shields]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 100>>\
<<set $gold -= 100>>\
<<set $shield = "Magic Shield">>\
<<set $shieldpenalty = 0>>\
<<set $sd = 5>>\
<<set $def = $basedef + $arm + $sd>>\
You bought a magic shield! Total defense: $def<br>
[[Continue|Shields]]
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Shields]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 30>>\
<<set $gold -= 30>>\
<<set $armor = "$armormod1 $armor1 $postarmormod1">>\
<<set $arm = 1>>\
<<set $armorpenalty = 0>>\
<<set $def = $basedef + $helm + $arm + $sd>>\
Purchased $armormod1 $armor1 $postarmormod1
Total defense: $def<br>
[[Continue|Armor]]
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Armor]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 50>>\
<<set $gold -= 50>>\
<<set $armor = "$armormod2 $armor2 $postarmormod2">>\
<<set $arm = 2>>\
<<set $armorpenalty = 0>>\
<<set $def = $basedef + $helm + $arm + $sd>>\
Purchased $armormod2 $armor2 $postarmormod2
Total defense: $def<br>
[[Continue|Armor]]
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Armor]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 80>>\
<<set $gold -= 80>>\
<<set $armor = "$armormod3 $armor3 $postarmormod3">>\
<<set $arm = 3>>\
<<set $armorpenalty = 1>>\
<<set $def = $basedef + $helm + $arm + $sd>>\
Purchased $armormod3 $armor3 $postarmormod3
Total defense: $def<br>
[[Continue|Armor]]
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Armor]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 120>>\
<<set $gold -= 120>>\
<<set $armor = "$armormod4 $armor4 $postarmormod4">>\
<<set $arm = 5>>\
<<set $armorpenalty = 3>>\
<<set $def = $basedef + $helm + $arm + $sd>>\
Purchased $armormod4 $armor4 $postarmormod4
Total defense: $def<br>
[[Continue|Armor]]
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Armor]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 150>>\
<<set $gold -= 150>>\
<<set $armor = "$armormod5 $armor5 $postarmormod5">>\
<<set $arm = 6>>\
<<set $armorpenalty = 2>>\
<<set $def = $basedef + $helm + $arm + $sd>>\
Purchased $armormod5 $armor5 $postarmormod5
Total defense: $def<br>
[[Continue|Armor]]
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Armor]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $gold gte 200>>\
<<set $gold -= 200>>\
<<set $armor = "$armormod6 $armor6 $postarmormod6">>\
<<set $arm = 7>>\
<<set $armorpenalty = 0>>\
<<set $def = $basedef + $helm + $arm + $sd>>\
Purchased $armormod6 $armor6 $postarmormod6
Total defense: $def<br>
[[Continue|Armor]]
<<else>>\
You don't have enough gold to buy that!<br>
[[Back|Armor]]
<</if>>\
</div>\<<set $xpgain = random(30,80) + $level>>\
<<set $wingold = random(8,12) + $level>>\
<<set $enemytype = random(1,2)>>\
<<set $ehp = random(0,5) + Math.round($maxHP/2)>>\
<<set $maxehp = $ehp>>\
<<set $edamage = Math.round($atk/2) + random(0,3)>>\
<<set $espeed = Math.round($speed/2)>>\
<<set $earmor = Math.round($def/2)>>\
<<set $playerinit = random(1,6) + $speed>>\
<<set $enemyinit = random(1,6) + $espeed>>\
<div style="text-align: center;">\
<<display 'battlescreen'>>
<<if $playerinit gte $enemyinit>>\
[[Attack]]
[[Magic]]
[[Items]]
<<else>>\
You are caught by surprise! The enemy attacks first.<br>
[[Continue|enemyturn]]
<</if>>\
</div>\<div style="text-align: center;">\
<<set $atkdmg = random(1,$atkpwr) + $level - $earmor>>\
<<if $atkdmg lte 0>>\
<<display 'battlescreen'>>
Your attack deals 0 damage!<br>
[[Continue|enemyturn]]
<<else>>\
<<set $ehp -= $atkdmg>>\
<<if $ehp lte 0>>\
<<set $ehp = 0>>\
<<display 'battlescreen'>>
Your attack deals $atkdmg damage! You defeated the enemy!<br>
[[Continue|gotowin]]
<<else>>\
<<display 'battlescreen'>>
Your attack deals $atkdmg damage!<br>
[[Continue|enemyturn]]
<</if>>\
<</if>>\
</div>\<div style="text-align: center;">\
Magic Points: $mp/$maxmp
<table style="width:100%">
<tr>
<td>Spell</td>
<td>Effect</td>
<td>Cost</td>
</tr>
<tr>
<td>[[Healing Touch]]</td>
<td>Restores HP</td>
<td>1 MP</td>
</tr>
<tr>
<td>[[Fireball]]</td>
<td>Deals basic magic damage</td>
<td>2 MP</td>
</tr>
<tr>
<td>[[Blizzard]]</td>
<td>Deals powerful magic damage</td>
<td>3 MP</td>
</tr>
</table>
[[Back|fightscreen]]
</div>\<div style="text-align: center;">\
<u>Items</u><br>
<<if $pizza gte 1>>\
[[Healing Pizza]] ($pizza)
<</if>>\
<<if $beer gte 1>>\
[[Magic Beer]] ($beer)
<</if>>\
Weapon: $weap
Armor: $armor
Shield: $shield
<<print $inventory.join("\n")>><br>
[[Back|fightscreen]]
</div>\<div style="text-align: center;">\
<<display 'battlescreen'>>
[[Attack]]
[[Magic]]
[[Items]]
</div>\
<<set $edamage = random(0,2) + $level>>\<div style="text-align: center;">\
<<set $gold += $wingold>>\
<<set $xp += $xpgain>>\
<<if $xp gte $levelcap>>\
<<set $level += 1>>\
<<set $levelcap = $level * 100>>\
<<set $hp += 3>>\
<<set $maxHP += 3>>\
<<set $atk += 1>>\
<<set $speed += 1>>\
<<set $mp += 1>>\
<<set $maxmp += 1>>\
You gained $xpgain XP. You reached LEVEL $level! You found $wingold gold coins!
<table style="width:100%">
<tr>
<td>+3 HP</td>
<td>+1 Strength</td>
</tr>
<tr>
<td>+1 Speed</td>
<td>+1 Magic</td>
</tr>
</table>
[[Continue|checkendstate]]<br>
<<else>>\
You gained $xpgain XP. You found $wingold gold coins!<br>
[[Continue|checkendstate]]<br>
<br>
<</if>>\
</div>\<<set $hp = $maxHP>>\
<<set $mp = $maxmp>>\
<<set $gold to Math.round($gold/2)>>\
<<set $lostgold to Math.round($gold/2)>>\
<<set $monsters = 0>>\
You return to town, battered and exhausted. You lost half your gold, but you are still alive. Better luck next time!<br>
[[Continue|Town 1]]<<set $hp = $maxHP>>\
<<set $mp = $maxmp>>\
<<set $gold to Math.round($gold/2)>>\
<<set $lostgold to Math.round($gold/2)>>\
<<set $monsters = 0>>\
You return to town, battered and exhausted. You lost half your gold, but you are still alive. Better luck next time!<br>
[[Continue|Town 2]]<<set $hp = $maxHP>>\
<<set $mp = $maxmp>>\
<<set $gold to Math.round($gold/2)>>\
<<set $lostgold to Math.round($gold/2)>>\
<<set $monsters = 0>>\
You return to town, battered and exhausted. You lost half your gold, but you are still alive. Better luck next time!<br>
[[Continue|Town 3]]<<set $goldprize = random(15,25)>>\
<<set $gold += $goldprize>>\
You won $goldprize gold coins!<br>
<<if $town == "town1">>[[Continue|Town 1]]<</if>><<if $town == "town2">>[[Continue|Town 2]]<</if>><<if $town == "town3">>[[Continue|Town 3]]<</if>><<set $mp += 1>>\
<<set $maxmp += 1>>\
Your magic skill increased by 1!<br>
<<if $town == "town1">>[[Continue|Town 1]]<</if>><<if $town == "town2">>[[Continue|Town 2]]<</if>><<if $town == "town3">>[[Continue|Town 3]]<</if>><<set $hp += 2>>\
<<set $maxHP += 2>>\
Your hit points increased by 2!<br>
<<if $town == "town1">>[[Continue|Town 1]]<</if>><<if $town == "town2">>[[Continue|Town 2]]<</if>><<if $town == "town3">>[[Continue|Town 3]]<</if>><<set $speed += 1>>\
Your speed increased by 1!<br>
<<if $town == "town1">>[[Continue|Town 1]]<</if>><<if $town == "town2">>[[Continue|Town 2]]<</if>><<if $town == "town3">>[[Continue|Town 3]]<</if>><<set $atk += 1>>\
Your strength increased by 1!<br>
<<if $town == "town1">>[[Continue|Town 1]]<</if>><<if $town == "town2">>[[Continue|Town 2]]<</if>><<if $town == "town3">>[[Continue|Town 3]]<</if>><div style="text-align: center;">\
<<if $mp lte 0>>\
<<display "battlescreen">>\
You don't have enough magic points to cast that spell!<br>
[[Continue|fightscreen]]
<<else>>\
<<set $mp -= 1>>\
<<set $healing = random(5,10) + $level>>\
<<set $hp += $healing>>\
<<if $hp gte $maxHP>>\
<<set $hp = $maxHP>>\
<</if>>\
<<display "battlescreen">>\
Healing Touch restored $healing hit points!<br>
[[Continue|enemyturn]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $mp gte 2>>\
<<set $mp -= 2>>\
<<set $magicatk = random(5,10) + $level>>\
<<set $ehp -= $magicatk>>\
<<if $ehp lte 0>>\
<<set $ehp = 0>>\
<<display "battlescreen">>\
You cast Fireball. It deals $magicatk damage! The enemy has run out of hit points. You are victorious!<br>
[[Continue|gotowin]]
<<else>>\
<<display "battlescreen">>\
You cast Fireball. It deals $magicatk damage!<br>
[[Continue|enemyturn]]
<</if>>\
<<else>>\
<<display "battlescreen">>\
You don't have enough magic points to cast that spell!<br>
[[Continue|fightscreen]]
<</if>>\
</div>\<div style="text-align: center;">\
<<if $mp gte 3>>\
<<set $mp -= 3>>\
<<set $magicatk = random(15,30) + $level>>\
<<set $ehp -= $magicatk>>\
<<if $ehp lte 0>>\
<<set $ehp = 0>>\
<<display "battlescreen">>\
You cast Blizzard. It deals $magicatk damage! The enemy has run out of hit points. You are victorious!<br>
[[Continue|gotowin]]
<<else>>\
<<display "battlescreen">>\
You cast Blizzard. It deals $magicatk damage!<br>
[[Continue|enemyturn]]
<</if>>\
<<else>>\
<<display "battlescreen">>\
You don't have enough magic points to cast that spell!<br>
[[Continue|fightscreen]]
<</if>>\
</div>\<div style="text-align: center;">\
<<set $totaleatk = $edamage - $def - $sd - $arm>>\
<<if $totaleatk lte 0>>\
<<set $armorcheck = random(0,2)>>\
<<if $armorcheck lte 0>>\
<<display 'battlescreen'>>
The enemy attacks, but deals 0 damage!<br>
[[Continue|fightscreen]]
<<else>>\
<<set $hp -= $armorcheck>>\
<<if $hp lte 0>>\
<<set $hp = 0>>\
<<display 'battlescreen'>>
The enemy attacks and hits you for $armorcheck damage. You ran out of hit points... you have been defeated!<br>
[[Continue|checklosestate]]
<<else>>\
<<display 'battlescreen'>>
The enemy attacks and hits you for $armorcheck damage!<br>
[[Continue|fightscreen]]
<</if>>\
<</if>>\
<<else>>\
<<set $hp -= $totaleatk>>\
<<if $hp lte 0>>\
<<set $hp = 0>>\
<<display 'battlescreen'>>
The enemy attacks and hits you for $totaleatk damage. You ran out of hit points... you have been defeated!<br>
[[Continue|checklosestate]]
<<else>>\
<<display 'battlescreen'>>
The enemy attacks and hits you for $totaleatk damage!<br>
[[Continue|fightscreen]]
<</if>>\
<</if>>\
</div>\<div style="text-align: center;">\
<<set $playerinit = random(1,6) + $speed>>\
<<set $enemyinit = random(1,6) + $espeed>>\
<<if $playerinit gte $enemyinit>>\
<<display 'battlescreen'>>
You ran away!<br>
<<if $town == "town1">>[[Continue|Town 1]]<</if>><<if $town == "town2">>[[Continue|Town 2]]<</if>><<if $town == "town3">>[[Continue|Town 3]]<</if>>
<<else>>\
<<display 'battlescreen'>>
Can't escape!<br>
[[Continue|enemyturn]]
<</if>>\
</div>\<div style="text-align: center;">\
<<set $pizza -= 1>>\
<<set $hpgainer = Math.round($maxHP/2) + random(2,5)>>\
<<set $hp += $hpgainer>>\
<<if $hp gte $maxHP>>\
<<set $hp = $maxHP>>\
<</if>>\
<<display 'battlescreen'>>
You eat a slice of pizza! Restored $hpgainer hit points.<br>
[[Continue|enemyturn]]
</div>\<div style="text-align: center;">\
<<if $inventory.indexOf("Boots of Speed") gte 0>>\
You already have those!<br>
[[Continue|Buy items]]
<<else>>\
<<if $gold gte 120>>\
<<set $gold -= 120>>\
<<set $speed += 2>>\
<<set $inventory.push("Boots of Speed")>>\
Purchased Boots of Speed. Speed increased by 2!<br>
[[Continue|Buy items]]
<<else>>\
You don't have enough gold!<br>
[[Continue|Buy items]]
<</if>>\
<</if>>\
</div>\<div style="text-align: center;">\
<<if $inventory.indexOf("Spellbook") gte 0>>\
You already have one of those!<br>
[[Continue|Buy items]]
<<else>>\
<<if $gold gte 150>>\
<<set $gold -= 150>>\
<<set $mp += 5>>\
<<set $maxmp += 5>>\
<<set $inventory.push("Spellbook")>>\
Purchased Spellbook. Max MP increased by 5!<br>
[[Continue|Buy items]]
<<else>>\
You don't have enough gold!<br>
[[Continue|Buy items]]
<</if>>\
<</if>>\
</div>\<div style="text-align: center;">\
<<if $inventory.indexOf("Power Gauntlets") gte 0>>\
You already have those!<br>
[[Continue|Buy items]]
<<else>>\
<<if $gold gte 175>>\
<<set $gold -= 175>>\
<<set $atk += 3>>\
<<set $atkpwr = $sword + $atk>>\
<<set $inventory.push("Power Gauntlets")>>\
Purchased Power Gauntlets. Attack power increased by 3!<br>
[[Continue|Buy items]]
<<else>>\
You don't have enough gold!<br>
[[Continue|Buy items]]
<</if>>\
<</if>>\
</div>\<div style="text-align: center;">\
<<if $inventory.indexOf("Cape of Invisibility") gte 0>>\
You already have one of those!<br>
[[Continue|Buy items]]
<<else>>\
<<if $gold gte 200>>\
<<set $gold -= 200>>\
<<set $speed += 3>>\
<<set $inventory.push("Cape of Invisibility")>>\
Purchased Cape of Invisibility. Speed increased by 3!<br>
[[Continue|Buy items]]
<<else>>\
You don't have enough gold!<br>
[[Continue|Buy items]]
<</if>>\
<</if>>\
</div>\<div style="text-align: center;">\
<<if $inventory.indexOf("Ring of Protection") gte 0>>\
You already have one of those!<br>
[[Continue|Buy items]]
<<else>>\
<<if $gold gte 250>>\
<<set $gold -= 250>>\
<<set $basedef += 3>>\
<<set $def = $basedef + $helm + $arm + $sd>>\
<<set $inventory.push("Ring of Protection")>>\
Purchased Ring of Protection. Defense increased by 3!<br>
[[Continue|Buy items]]
<<else>>\
You don't have enough gold!<br>
[[Continue|Buy items]]
<</if>>\
<</if>>\
</div>\<div style="text-align: center;">\
<<if $inventory.indexOf("Crown of the Barbarian Kings") gte 0>>\
You already have that!<br>
[[Continue|Buy items]]
<<else>>\
<<if $gold gte 350>>\
<<set $gold -= 350>>\
<<set $hp += 5>>\
<<set $maxHP += 5>>\
<<set $mp += 5>>\
<<set $maxmp += 5>>\
<<set $speed += 5>>\
<<set $basedef += 5>>\
<<set $def = $basedef + $helm + $arm + $sd>>\
<<set $atk += 5>>\
<<set $atkpwr = $sword + $atk>>\
<<set $inventory.push("Crown of the Barbarian Kings")>>\
Purchased Crown of the Barbarian Kings. All stats increased by 5!<br>
[[Continue|Buy items]]
<<else>>\
You don't have enough gold!<br>
[[Continue|Buy items]]
<</if>>\
<</if>>\
</div>\<table style="width:100%">
<tr>
<th>[[Menu]]</th>
<th>[[Inventory]]</th>
</tr>
</table><br><div style="text-align: center;">\
<table style="width:100%">
<tr>
<th><font color="#52d273">Menu</font></th>
</tr>
</table>
<<link "Save Game">><<script>>UI.saves()<</script>><</link>>
[[Restart]]
<<back "Back">>
</div>\<div style="text-align: center;">\
<font color="#52d273">Inventory</font>
Weapon: $weap
Armor: $armor
Shield: $shield
Healing Pizza ($pizza)
Magic Beer ($beer)
<<print $inventory.join("\n")>><br>
<<back "Back">>
</div>\<<if $state == 1>>\
<<goto "dragonwin">>\
<</if>>\
<<if $state == 2>>\
<<goto "dragonwin2">>\
<</if>>\
<<if $state == 3>>\
<<goto "guardwin">>\
<</if>>\
<<if $state == 4>>\
<<goto "demonwin">>\
<</if>>\
<<if $state == 5>>\
<<goto "ghostnwin">>\
<</if>>\
<<if $state == 6>>\
<<goto "dddemonnwin">>\
<</if>>\
<<if $state == 7>>\
<<goto "dguardonnwin">>\
<</if>>\
<<if $state == 9>>\
<<goto "shyfternnwin">>\
<</if>>\
<<if $state == 8>>\
<<goto "sgoobdirnnwin">>\
<</if>>\<<if $state == 1>>\
<<goto "dragonlose">>\
<</if>>\
<<if $state == 2>>\
<<goto "dragonlose">>\
<</if>>\
<<if $state == 3>>\
<<goto "guardlose">>\
<</if>>\
<<if $state == 4>>\
<<goto "demonlose">>\
<</if>>\
<<if $state == 5>>\
<<goto "ghostlose">>\
<</if>>\
<<if $state == 6>>\
<<goto "demonlose">>\
<</if>>\
<<if $state == 7>>\
<<goto "guardsslose">>\
<</if>>\
<<if $state == 9>>\
<<goto "gshyfterlose">>\
<</if>>\
<<if $state == 8>>\
<<goto "gobbleslose">>\
<</if>>\<div style="text-align: center;">\
<<set $beer -= 1>>\
<<set $mpgainer = Math.round($maxmp/2) + random(2,5)>>\
<<set $mp += $mpgainer>>\
<<if $mp gte $maxmp>>\
<<set $mp = $maxmp>>\
<</if>>\
<<display 'battlescreen'>>
You drink a mug of magic beer! Restored $mpgainer magic points.<br>
[[Continue|enemyturn]]
</div>\<div style="text-align: center;">\
<<if $gold gte 8>>\
<<set $gold -= 8>>\
<<set $beer += 1>>\
You bought a mug of magic beer!<br>
[[Continue|Tavern]]
<<else>>\
You don't have enough gold!<br>
[[Continue|Tavern]]
<</if>>\
</div>\You walk to the museum. There is a sign out front that says "Pay what you want day!" You enter the building. A curator greets you at the door. How much will you pay to visit?<br>
[[0 coins]]
[[5 coins]]
[[10 coins]]You approach a group of elves holding candles and chanting at the edge of the jungle.<br>
[[Why are you chanting?]]
[[What is going on in this village?]]
[[What lies in the jungle beyond?]]You approach the wizard's tower and knock on the heavy iron door. A few moments later the door swings open and a huge puff of smelly smoke billows out. An old man covered in soot and missing an eyebrow stands before you. He squints at you as he wipes his glasses on his robes, but that only serves to smear them even more.<br>
[[Continue|melk]]Are you a dude or a chick?<br>
[[Dude]]
[[Chick]]<<set $armor = "Loincloth">>\
What kind of hero are you?<br>
[[Beefy|Barbarian]]
[[Magical|Spellslinger]]
[[Fast|Shadow]]
<<set $name = "Elora">>\<<set $armor = "Chainmail Bikini">>\
What kind of hero are you?<br>
[[Beefy|Barbarian]]
[[Magical|Spellslinger]]
[[Fast|Shadow]]
<<set $name = "Sane">>\You always thought you were prepared for anything, but nothing could have prepared you for today...<br>
[[Continue|changed]]Your day begins like any other: eating breakfast with $name. But suddenly the village is attacked by a dragon!<br>
[[Continue|begins]]You and $name rush outside as a massive black dragon swoops down overhead. The dragon unleashes a torrent of fire on the village, incinerating dozens of houses and helpless villagers.<br>
[[Continue|options]]As the surrounding houses catch fire, you realize the sacred totem in the center of town is going to be burned. If the totem is burned, you'll have no way of directly communicating with the Infinite Goddess Shergblatt! However, you also spot a group of villagers trapped behind a wall of flame. They'll die if someone doesn't help them. The dragon swoops around for another attack. You must make a choice... what will you do?<br>
[[Flee the village with your lover]]
[[Protect the sacred totem]]
[[Rescue the trapped villagers]]You grab $name by the hand and the two of you flee the village. The dragon torches the townspeople and shrieks with glee. Just then the beast spots you. A malevolent grin spreads across the dragon's face. It zooms toward you.<br>
[[Continue|dragonfight]]You rush to the center of town and begin pouring buckets of water on the raging flames in an attempt to protect the sacred totem. The screams of burning villagers fill your ears, but you cannot let the totem burn. The dragon torches the townspeople and shrieks with glee. Just then the beast spots you. A malevolent grin spreads across the dragon's face. It zooms toward you.<br>
[[Continue|totemen]]You leap through the flames and scoop up the frightened villagers. Carrying them under your arms, you rush out of the village and yell for them to hide. They thank you as they scamper away into the woods.<br>
[[Continue|Flee the village with your loveddr]]You draw your $weap and prepare for a fight. The dragon lands directly in front of you, blocking your path. You have no choice but to fight!<br>
[[Fight]]
<<set $state = 1>>\The dragon kills you. Your journey ends here... YOU ARE DEAD!<br>
[[Retry?|Fight]]
<<set $hp = $maxHP>>\
<<set $mp = $maxmp>>\
<<set $pizza = 2>>\
<<set $beer = 1>>\You fend off the dragon in a valiant effort, but the beast is too strong. The dragon flaps its wings, conjuring up a powerful gust which blows you off your feet. As you tumble away, the dragon scoops up $name in its clutches and launches into the air! You can do nothing but shout and cry as the dragon gets farther and farther away.<br>
[[Continue|burns]]The village burns behind you. There is nothing left for you here, but you will not leave $name to be eaten by a dragon! You grit your teeth and steel your nerves. You will set out on a quest to kill that dragon and save $name, no matter the cost.<br>
[[Continue|stoner]]The road before you leads through rolling meadows and grassy fields. You can see a signpost ahead. A frizzy-haired, freckle-faced chick is sitting beneath the signpost, gazing up at the sky. A thick cloud of smoke surrounds her. She raises a peace pipe to her mouth and takes a long pull, exhaling a puff of relaxing smoke. She waves her hand in the direction of the sky.<br>
[[Continue|zara]]You draw your $weap and prepare for a fight. The dragon lands directly in front of you, burping smoke and flame. You have no choice but to fight!<br>
[[Fight]]
<<set $state = 2>>\You fend off the dragon in a valiant effort, but the beast is too strong. The dragon flaps its wings, conjuring up a powerful gust which blows you off your feet. As you tumble away, the dragon scoops up $name in its clutches and launches into the air! You can do nothing but shout and cry as the dragon gets farther and farther away.<br>
[[Continue|burnsd]]Just then there is a burst of holy light. The totem behind you is glowing! You shield your eyes as the Infinite Goddess Shergblatt appears before you.<br>
[[Continue|shergy]]SHERGBLATT:
Your heart is pure, barbarian. You made a hard choice today, but you will be rewarded. There are still trials ahead, but I am confident you can overcome them. I will spare the rest of this village from the flames, but you must find time to rebuild... after you have dealt with the dragon. Please accept this boon as a gift.<br>
[[Continue|shergift]]<<set $hp += 3>>\
<<set $maxHP += 3>>\
A warm light fills your body, and suddenly you feel more powerful. HP increased by 3!<br>
[[Continue|wramgh]]As the warm feeling fades, you realize that the village is no longer in flames. Shergblatt, however, is gone. You look up at the sky. The dragon is no longer in sight, but you know which way it went. The village may be safe, but there is nothing left for you here now, and you will not leave $name to be eaten by a dragon! You grit your teeth and steel your nerves. You will set out on a quest to kill that dragon and save $name, no matter the cost.<br>
[[Continue|stoner]]You grab $name by the hand and the two of you flee the village. The dragon torches the town and shrieks with glee. Just then the beast spots you. A malevolent grin spreads across the dragon's face. It zooms toward you.<br>
[[Continue|dragonfight]]ZARA:
I saw a cloud that looked like a dragon earlier... this stuff is wicked strong. Want a hit?<br>
[[No, thanks.]]
[[Sure.]]
[[Which way did the dragon go?]]ZARA:
Suit yourself.<br>
[[Continue|sufhg]]The girl smiles and hands you the peace pipe. You fill your lungs with smoke, close your eyes, and slowly exhale. The world around you melts away and suddenly you are gifted with a vision: three magic artifacts are drifting through the darkness. A sword. A shield. A suit of armor.<br>
[[Continue|sss]]ZARA:
See that mountain in the distance? It flew over there. But it was just a cloud, dude... don't waste your life chasing clouds. My guru told me that.<br>
[[It wasn't a cloud, it was a real dragon. I'm going to kill it.]]
[[Maybe I should try some of what you're having...|Sure.]]The girl takes another hit and closes her eyes, completely blissed out.<br>
[[Which way did the dragon go?]]ZARA:
That's deep.<br>
[[Continue|Sure.]]The three magic artifacts come together, and in a flash of light you see yourself wielding them! Flames spring up all around you and suddenly the dragon appears! Using the magic artifacts, you smite the dragon and rescue your lost love.<br>
[[Continue|zarlk]]The vision fades in a puff of smoke. Zara stares at you in wide-eyed wonder.<br>
[[Continue|strea]]ZARA:
By Shergblatt's hairy butt crack, that was one powerful vision!<br>
[[You saw it, too?]]
[[I think I need to gather those artifacts if I'm going to kill the dragon.]]ZARA:
Saw it? I practically lived it! That was wild!<br>
[[Thanks for sharing your pipe with me. I know now what I must do.]]
[[I think I need to gather those artifacts if I'm going to kill the dragon.]]ZARA:
Great! I'm coming with you.<br>
[[What!? Why??]]
[[No you're not. You can stay here and watch the clouds.]]ZARA:
So do I. I'm coming with you.<br>
[[What!? Why??]]
[[No you're not. You can stay here and watch the clouds.]]ZARA:
Anyone who can have visions that powerful from a single hit off this cheap little peace pipe has to have an incredible destiny ahead of them. I came to this quiet hilltop to find inspiration for my next ballad, and... well, here you are! Think of the magic I could compose if I joined you on your dragon-slaying quest! I could make you famous!<br>
[[What are you, some kind of bard or something?]]
[[Fine, you can come. But I'm not responsible if you get hurt.]]ZARA:
Not a chance! Anyone who can have visions that powerful from a single hit off this cheap little peace pipe has to have an incredible destiny ahead of them. I came to this quiet hilltop to find inspiration for my next ballad, and... well, here you are! Think of the magic I could compose if I joined you on your dragon-slaying quest! I could make you famous!<br>
[[What are you, some kind of bard or something?]]
[[Fine, you can come. But I'm not responsible if you get hurt.]]Zara grins and pulls out a flute. She begins playing. Badly. You cover your ears and beg her to stop.<br>
[[Continue|lsdkf]]Zara grins and packs up her stuff. You take a look at the signpost. There are arrows pointing in four directions. Which way will you go?<br>
[[Littleleaf village]]
[[Red Hawk village]]
[[Irongate]]
[[Sunrise Peak]]
[[Ask Zara about these locations]]ZARA:
What? You don't like it? It's experimental sound! Ugh. Nobody understands my art...<br>
[[Just don't play that when we're anywhere near the dragon's lair.]]
[[Maybe you should stick to a quieter art, like composing poetry or painting.]]Zara shrugs and packs up her stuff. You take a look at the signpost. There are arrows pointing in four directions. Which way will you go?<br>
[[Littleleaf village]]
[[Red Hawk village]]
[[Irongate]]
[[Sunrise Peak]]
[[Ask Zara about these locations]]Zara shrugs and packs up her stuff. You take a look at the signpost. There are arrows pointing in four directions. Which way will you go?<br>
[[Littleleaf village]]
[[Red Hawk village]]
[[Irongate]]
[[Sunrise Peak]]
[[Ask Zara about these locations]]<<if visited("Town 1")>>\
<<if visited("leaving")>>\
Better not go back there. You're a wanted criminal now.<br>
[[Continue|signpost]]
<<else>>\
You return to Littleleaf village.<br>
[[Continue|Town 1]]
<</if>>\
<<else>>\
You and Zara follow the path to Littleleaf village. Dark storm clouds gather overhead, and soon it begins to rain. Before long, the rain turns into a torrential downpour. Continued travel in this storm would be difficult, so the two of you search for a place to take shelter.<br>
[[Continue|tample]]
<</if>>\<<if visited("Town 2")>>\
<<if visited("I'm afraid the Ikkagu went insane. It trapped the spirits and was trying to eat them. I had no choice but to kill it.")>>\
You have been banished from Red Hawk village. You may not return to that place.<br>
[[Continue|signpost]]
<<else>>\
You return to Red Hawk village.<br>
[[Continue|Town 2]]
<</if>>\
<<else>>\
You and Zara follow the path to Red Hawk. It is a very peaceful walk. You pass a few pixie travellers heading in the opposite direction. You wave to them cheerfully, but their faces are grim.<br>
[[Continue|lskfgjlg]]
<</if>>\<<if visited("Town 3")>>\
<<if visited("We need to go now. Thanks for all your help, Melandrach!")>>\
It would be stupid to go back there. You're a wanted criminal now.<br>
[[Continue|signpost]]
<<else>>\
You return to Irongate.<br>
[[Continue|Town 3]]
<</if>>\
<<else>>\
You take the High Road to Irongate. You pass hundreds of merchants and travellers along the road. The way ahead only grows more crowded as you draw closer to the capital.<br>
[[Continue|tocap]]
<</if>>\<<if $adventure gte 3>>\
With the three magic artifacts in hand, you and Zara begin your journey to Sunrise Peak.<br>
[[Continue|tosunrise]]
<<else>>\
You need to gather all three magic artifacts before you face the dragon!<br>
[[Continue|signpost]]
<</if>>\ZARA:
Littleleaf village is tucked away in a valley. It's a quiet place, but they have a really cool museum filled with old armor there. Red Hawk is a hippie town- you know, elves and pixies and woodland folk dancing and singing all the time? I hear they're having issues right now. Something about restless ghosts haunting the town?<br>
[[Continue|zaraslkd]]ZARA:
Irongate is the capital of Azmar, but everyone knows that. I'm sure someone there might know about the magic items we're looking for. And Sunrise Peak is straight ahead. That's where the dragon went. I suggest we find all three artifacts before going there.<br>
[[Continue|signpost]]You take a look at the signpost. There are arrows pointing in four directions. Which way will you go?<br>
[[Littleleaf village]]
[[Red Hawk village]]
[[Irongate]]
[[Sunrise Peak]]Lightning flashes overhead, illuminating the outline of an old temple on the side of the road. The two of you run forward and enter the temple.<br>
[[Continue|teplfk]]Safe from the rain, you take some time to rest. This temple belongs to Shergblatt, but it seems to be abandoned. There are logs stacked near a brazier nearby, so you start a fire. As warmth fills the temple, Zara relaxes by the fire.<br>
[[I'm going to get some sleep.]]
[[I'm going to pray to the Infinite Goddess.]]You curl up by the fire and fall asleep. You wake up the next morning feeling refreshed. Zara is already awake and ready to go. She tosses you a few slices of burnt bacon as you gather your things. After a quick bite to eat, you continue on your way to Littleleaf village.<br>
[[Continue|toll]]You stand before the Altar of Shergblatt and begin dancing, chanting, and slapping your butt. Suddenly the light of the Infinite Goddess surrounds you- you have been granted a boon! +3 magic points.<br>
[[Continue|sleeptime]]
<<set $mp += 3>>\
<<set $maxmp += 3>>\The journey doesn't take long. You arrive in Littleleaf village a short while later and take a minute to scope out the area. A little kid is whining to his mom nearby.<br>
[[Continue|diss]]As the light of the goddess fades, a heavy feeling of exhaustion sets in. You curl up in the corner and fall asleep. You wake up the next morning feeling refreshed. Zara is already awake and ready to go. She tosses you a few slices of burnt bacon as you gather your things. After a quick bite to eat, you continue on your way to Littleleaf village.<br>
[[Continue|toll]]AYMAR:
But MOOOOOOM! I wanna go see the fire armor! Can't we go to the museum today?<br>
[[Continue|musej]]SYVIS:
I already told you, Aymar, we're going to visit the museum tomorrow. Now stop acting like a little turd, you're causing a scene.<br>
[[Continue|whingig]]The woman drags her whining son away. Maybe you'll find the armor you're searching for in the museum...<br>
[[Continue|Town 1]]You shrug and give the curator a goofy "what can I say?" smile. The man rolls his eyes and walks away to attend to other customers. You and Zara enter the atrium and begin to browse through the exhibit halls.<br>
[[Continue|inmuseum]]<<if $gold gte 5>>\
<<set $gold -= 5>>\
You pay the curator 5 gold coins. He thanks you and hands you a pamphlet about the museum. You and Zara enter the atrium and begin to browse through the exhibit halls.<br>
[[Continue|inmuseum]]
<<else>>\
You don't have enough gold! How much will you pay to enter the museum?<br>
[[0 coins]]
[[5 coins]]
[[10 coins]]
<</if>>\<<if $gold gte 10>>\
<<set $gold -= 10>>\
You pay the curator 10 gold coins. He thanks you for your generosity and hands you a pamphlet about the museum. You and Zara enter the atrium and begin to browse through the exhibit halls.<br>
[[Continue|inmuseum]]
<<else>>\
You don't have enough gold! How much will you pay to enter the museum?<br>
[[0 coins]]
[[5 coins]]
[[10 coins]]
<</if>>\There is a lot of history on display here. You discover a bunch of cool artifacts. A sign overhead points to the "Ancient Arms And Armor" exhibit. That section appears to be the main draw for the museum.<br>
[[Check out the Shyfter exhibit]]
[[View the History section]]
[[Investigate the Arms And Armor exhibit]]This section contains ancient Shyfter artifacts and old lore. What do you want to learn about?<br>
[[Origin of the Shyfters]]
[[Major battles with Shyfters]]
[[Shyfter technology]]
[[Visit another exhibit]]This section contains information about the history and people of Azmar:<br>
[[Creation of Azmar]]
[[Realms of Azmar]]
[[Visit another exhibit]]The armor exhibit contains suits of armor from all eras. You see a suit of armor worn by King Gurg of the Stonehammer Dwarves, a chainmail bikini once worn by Princess Raga of the northern barbarian tribe, and even a silver helmet donned by an unnamed vampire hunter.<br>
[[Continue|birgsk]]According to the displays, Azmar was once protected by barbarian spirit warriors from four different tribes. Each of the tribes was gifted with the ability to shapeshift into a different type of animal: dragons, wolves, tigers, and phoenixes.<br>
[[Continue|shfig]]There have been four major documented battles with the Shyfters:<br>
1. Skagg's attack - this was the first time Shyfters came to Azmar. They consumed the essence of the spirit warriors, but were defeated in the end
2. Lord Hawk's corruption of Silver Wolf - A Shyfter named Lord Hawk corrupted a wolf spirit and attempted to destroy Azmar and the Heavens. The other wolf spirits, with the help of the Elf Sages, managed to defeat them<br>
[[Continue|balgkg]]There are bizarre weapons and pieces of scrap metal on display here: laser guns, rocket launchers, buzz-saws, turbo cannons, and tons of weird little gadgets and gizmos. Apparently the Shyfters are cybernetic organisms composed of living tissue over metal endoskeletons... or something like that.<br>
[[Continue|Check out the Shyfter exhibit]]Where do you want to go?<br>
[[Check out the Shyfter exhibit]]
[[View the History section]]
[[Investigate the Arms And Armor exhibit]]10,000 years ago a group of interstellar star monsters attacked Azmar. They captured the spirit warriors and consumed their essence, thereby gaining the ability to shapeshift themselves. The aliens came to be known as Shyfters.<br>
[[Continue|Check out the Shyfter exhibit]]Major battles, continued:<br>
3. Battle of Irongate - A Shyfter called Vortex attacked Irongate with his army of crystal warriors. General Rawhide led his Iron Knights to victory over them
4. Lord Hawk's return - 1,000 years after his first attempt at conquest, Lord Hawk returned to try again. This time, Silver Wolf killed him herself.<br>
[[Continue|Check out the Shyfter exhibit]]The Infinite Goddess Shergblatt birthed the world of Azmar with a mighty fart. The world sprung fully formed from her butt, and soon creatures began to appear. The primitive barbarians who once prowled the plains and lived in caves haven't advanced very far...<br>
[[Continue|View the History section]]Azmar is divided into three major realms:<br>
1. Lark, realm of the elves. Lark is a mysterious ethereal realm rarely seen by mortal eyes. Many doubt it even exists.
2. Rune, realm of mankind. Rune is the most populous of the realms, and features a melting pot of races and species working together in harmony. You are here!
3. Crale, realm of the dwarves. This subsurface realm is often the battleground between dwarves and other subterranean beasts.<br>
[[Continue|View the History section]]The big draw of the exhibit, however, is the suit of Infernal Armor in the center of the room... the same suit of armor you saw in your vision!<br>
[[I wonder if they'll let me borrow that to fight a dragon?]]
[[We need to steal that suit of armor.]]ZARA:
Hah. Funny. But seriously, what are we going to do?<br>
[[We're going to break in tonight when everyone is asleep and steal it under cover of darkness.]]
[[I'm going to take it, put it on, and walk out with it. I'll kill anyone who gets in my way.]]ZARA:
Are you crazy? How are we supposed to steal a suit of legendary armor without getting caught?<br>
[[We're going to break in tonight when everyone is asleep and steal it under cover of darkness.]]
[[I'm going to take it, put it on, and walk out with it. I'll kill anyone who gets in my way.]]ZARA:
This is insane... but you're probably right. There's no way they'd simply hand it over to us.<br>
[[Then it's agreed. We'll meet back here at midnight. That suit will be mine.]]ZARA:
You- what!? Wait!<br>
[[Continue|lskdfkfdlk]]The two of you exit the museum, thanking the curator on the way out. You spend the rest of the afternoon at the tavern, eating pizza and drinking beer.<br>
[[Continue|byding]]By midnight, the village is quiet and peaceful. Crickets chirp outside as you exit the tavern and creep over to the museum.<br>
[[Enter the front door]]
[[Search for a side entrance]]You step up to the front door and pull the handle. It is locked. However, you spot a security guard patrolling the building through a window. This may be harder than you thought...<br>
[[Continue|sides]]You sneak around the side of the building a locate a small back door. The door has been propped open with a rock. Glancing around, you spot a security guard taking a leak in the bushes nearby. You quietly sneak inside before he has time to notice you.<br>
[[Continue|insidemsl]]You sneak around the side of the building a locate a small back door. The door has been propped open with a rock. Glancing around, you spot another security guard taking a leak in the bushes nearby. You quietly sneak inside before he has time to notice you.<br>
[[Continue|insidemsl]]You and Zara return to the armor exhibit. The Infernal Armor glitters in a shaft of moonlight streaming in through the upper windows.<br>
[[Check for traps]]
[[Take the armor]]You quickly scan the room. You don't spot any visible traps, such as trip wires or obvious spike pits, but you do detect a strong magical presence in the room. That could be a result of the ancient magic armor in front of you, of course... or it could mean there is a magical anti-theft spell in place.<br>
[[Take armor]]
[[Cast a magic dampening spell (2 magic points)]]You grab the Infernal Armor and make your way toward the exit. A magical alarm blares, alerting the security guards to your presence.<br>
[[Continue|musexit]]
<<set $inventory.push("Infernal Armor")>>\You grab the Infernal Armor and make your way toward the exit. A magical alarm blares, alerting the security guards to your presence.<br>
[[Continue|musexit]]
<<set $inventory.push("Infernal Armor")>>\<<if $mp gte 2>>\
<<set $mp -= 2>>\
You weave a simple magic negation spell. There is a slight shimmer in the air as the magical force protecting the armor temporarily flickers out. You grab the Infernal Armor and make your way toward the exit.<br>
[[Continue|musexit]]
<<set $inventory.push("Infernal Armor")>>\
<<else>>\
You don't have enough magic points!<br>
[[Take armor]]
<</if>>\Just then the security guard you spotted earlier enters the room for a routine check. You nearly run into him on your way out. He stares at you in surprise for a moment before shouting "Thieves! Stop!!"<br>
[[Run away]]
[[Fight]]
<<set $state = 3>>\You run as fast as you can, knocking over displays to block the guard's pursuit.<br>
[[Continue|leaving]]The guard kicks your butt and drags you to the executioner. The penalty for stealing is death. Your journey ends here... YOU ARE DEAD!<br>
[[Retry?|Fight]]
<<set $hp = $maxHP>>\
<<set $mp = $maxmp>>\
<<set $pizza = 2>>\
<<set $beer = 1>>\You kick the security guard's butt and leave him lying unconscious in the stuffed mammoth display.<br>
[[Continue|leaving]]You and Zara exit the museum and flee the village. Better stay away from Littleleaf village from now on...<br>
[[Continue|Leave]]
<<set $adventure += 1>>\You grab the Infernal Armor and make your way toward the exit. A magical alarm blares, alerting the security guards to your presence.<br>
[[Continue|musexit]]
<<set $inventory.push("Infernal Armor")>>\The journey is long and treacherous. By nightfall you're completely exhausted. You find a secluded spot to camp for the night and immediately fall asleep.<br>
[[Continue|woknt]]The village is nearly in sight when you encounter an old, wandering priest. The old man bows his head as you approach.<br>
[[Continue|priejst]]PRIEST:
Hail, travellers! I am a priest of the old gods. Which gods do you serve?<br>
[[The old gods]]
[[The Infinite Goddess Shergblatt]]
[[The spirits]]
[[I serve no one but myself]]PRIEST:
A devout! There are few of us left, sadly. I beg you to come pray with me. There is a shrine to the old gods just off the path here.<br>
[[No thanks, I'm in a hurry.]]
[[I would be honored to pray with you.]]PRIEST:
Many have forgotten the ways of the old gods. But a repentant soul is never lost! I beg you to come pray with me. There is a shrine to the old gods just off the path here.<br>
[[No thanks, I'm in a hurry.]]
[[I would be honored to pray with you.]]PRIEST:
Many have forgotten the ways of the old gods. But a repentant soul is never lost! I beg you to come pray with me. There is a shrine to the old gods just off the path here.<br>
[[No thanks, I'm in a hurry.]]
[[I would be honored to pray with you.]]PRIEST:
Many have forgotten the ways of the old gods. But a repentant soul is never lost! I beg you to come pray with me. There is a shrine to the old gods just off the path here.<br>
[[No thanks, I'm in a hurry.]]
[[I would be honored to pray with you.]]PRIEST:
Then you will die!<br>
[[Continue|dieid]]The priest leads you off the path into the woods. You don't see any shrines here... Suddenly the old man rips his own face off, revealing the hideous form of his true self beneath- he is a demon! Ten other demons swarm out of the trees around you and attack!<br>
[[Fight]]
<<set $state = 4>>\Suddenly the old man rips his own face off, revealing the hideous form of his true self beneath- he is a demon! Ten other demons swarm out of the trees around you and attack!<br>
[[Fight]]
<<set $state = 4>>\The demons eat your flesh and devour your soul. Your journey ends here... YOU ARE DEAD!<br>
[[Retry?|Fight]]
<<set $hp = $maxHP>>\
<<set $mp = $maxmp>>\
<<set $pizza = 2>>\
<<set $beer = 1>>\You slaughter the demons and hurry down the path, eager to reach Red Hawk village. Who knew this area could be so dangerous?<br>
[[Continue|arrival]]You arrive in Red Hawk village a short while later. There is a somber feeling in the air. The normally joyful elves and pixies are holding a silent vigil near the edge of the jungle. Something strange is going on here...<br>
[[Continue|Town 2]]ELF:
Something is amiss within the Jungle of Ghosts. It seems as though the dead are unable to move on- their spirits are trapped here. We are holding a vigil in the hopes that the spirits will be released.<br>
[[Continue|viglsi]]ELF:
Something is amiss within the Jungle of Ghosts. It seems as though the dead are unable to move on- their spirits are trapped here. We are holding a vigil in the hopes that the spirits will be released.<br>
[[Continue|viglsi]]ELF:
This path leads to the Jungle of Ghosts, the sacred resting place for our people. However, something is amiss within the Jungle. It seems as though the dead are unable to move on- their spirits are trapped here. We are holding a vigil in the hopes that the spirits will be released.<br>
[[Continue|viglsi]]Just then a super beefy dude wearing a lion pelt pushes his way through the crowd. He's carrying dozens of knives, spears, ropes, and nets. In one hand he carries a giant battle axe, and in the other he grips a massive longbow.<br>
[[Continue|thrus]]THURIDAN:
Legends tell of a great beast that roams the Jungle of Ghosts. Surely it is this beast that is causing trouble! I, Thuridan, greatest of all hunters, vow to slay the beast and release the spirits- for the glory of Azmar!<br>
[[Why would a beast trap the spirits of the dead?]]
[[A great beast, you say? Very well, I will join you on this hunt!]]THURIDAN:
I do not profess to know the mind of a monster. I seek only to kill it! Now get out of my way, for I have a trophy to catch- I mean, I have to slay the beast to save this village!<br>
[[Continue|upste]]THURIDAN:
Join me? Hah! Thuridan hunts alone. I would never share the thrill of the hunt- especially not with the likes of you!<br>
[[Continue|upste]]The gathered villagers are extremely upset. They try to block Thuridan, but he backhands them and strides into the jungle. One of the villagers grabs your arm.<br>
[[Continue|alskjd]]PIXIE:
You must stop him! Please! That hunter intends to slay the mighty Ikkagu! The Ikkagu is sacred to Red Hawk- he is the protector of the Jungle! You must not let that man slay it!<br>
[[I will stop the hunter.]]
[[It sounds to me like there is glory to be earned by killing the Ikkagu. I will slay it myself!]]The villagers pat your back and send you their blessings as you enter the jungle in pursuit of the hunter and the Ikkagu.<br>
[[Continue|injusngl]]The villagers wail as you enter the jungle in pursuit of the hunter and the Ikkagu.<br>
[[Continue|injusngl]]The overgrown path winds back and forth through dense foliage, giant spider webs, and twisted trees. A dark presence descends around you... suddenly dozens of angry ghost appear! The ghosts command you to leave the forest, but you will not be deterred. Angered, the restless spirits attack!<br>
[[Fight]]
<<set $state = 5>>\The ghosts devour your soul. Your journey ends here... YOU ARE DEAD!<br>
[[Retry?|Fight]]
<<set $hp = $maxHP>>\
<<set $mp = $maxmp>>\
<<set $pizza = 2>>\
<<set $beer = 1>>\You disperse the spirits and venture deeper into the jungle. After an hour of searching, you discover a cave entrance at the edge of a vast clearing. Thuridan's gear is lying in the dirt outside, but there is no sign of the hunter himself.<br>
[[Search Thuridan's gear]]
[[Enter the cave]]<<set $beer += 2>>\
You dig through Thuridan's stuff and find two bottles of magic beer! You take the beer and enter the cave.<br>
[[Continue|Enter the cave]]A mysterious fog covers the floor of the cave. You tread carefully, checking for hidden traps and pits. As you descend deeper into the cave, the fog begins to form ethereal shapes- grasping hands and yawning skulls. This place is haunted...<br>
[[Continue|hautnf]]You arrive in a chamber at the far end of the tunnel. You are horrified to see Thuridan's flayed corpse tied to a wooden stake. His eyeballs have been plucked out of his head and his fingernails have been torn off.<br>
[[Continue|sklgjk]]Just then you realize the cave is filled with ravenous demons- the same kind of demons you met on the road to Red Hawk! They have tied up the Ikkagu and are performing some sort of perverse ritual on it.<br>
[[Free the Ikkagu]]
[[Kill the Ikkagu]]
[[Attack the demons]]
[[Order the demons to leave]]You sprint toward the Ikkagu. The gathered demons cackle with malevolent glee. They swarm around you and attack!<br>
[[Fight]]
<<set $state = 6>>\You sprint toward the Ikkagu, prepared to slaughter it. The gathered demons cackle with malevolent glee. They swarm around you and attack!<br>
[[Fight]]
<<set $state = 6>>\You sprint forward, ready for a fight. The gathered demons cackle with malevolent glee. They swarm around you and attack!<br>
[[Fight]]
<<set $state = 6>>\The gathered demons cackle with malevolent glee. They swarm around you and attack!<br>
[[Fight]]
<<set $state = 6>>\You smite the demons and end their evil ritual. Their wicked laughter fades into echoes before vanishing completely. The mysterious fog disperses and the cave falls silent once again. Whatever evil held sway over this forest is now gone.<br>
[[Free the Ikkagu|freeit]]
[[Kill the Ikkagu|killit]]You cut the ropes tying the Ikkagu. The giant dinosaur stands up and unleashes a ferocious roar, but when it turns to look at you it bows its head in thanks. The Ikkagu nudges you toward the far side of the cave. It wants to show you something.<br>
[[Continue|caveserch]]You pick up a knife and cut the defenseless beast's throat. The Ikkagu gurgles out blood and dies. You cast the knife aside and search the cave.<br>
[[Continue|caveserch]]You discover a hidden treasure hoard. You begin stuffing your pockets with gems and gold when suddenly you spot the legendary Flame Shield lying in the corner! You grab the Flame Shield and take it with you.<br>
[[Continue|exitcave]]
<<set $inventory.push("Flame Shield")>>\
<<set $gold += 120>>\You exit the cave and return to the village. It seems like everyone in Red Hawk has gathered by the gates to hear the news.<br>
[[Continue|elfkjg]]
<<set $adventure += 1>>\ELF:
You have returned! And the spirits... they've been freed once again! Please tell us: was it the Ikkagu that caused all this trouble?<br>
[[I'm afraid the Ikkagu went insane. It trapped the spirits and was trying to eat them. I had no choice but to kill it.]]
[[A group of demons invaded the Jungle. They trapped the spirits, enslaved the Ikkagu, and killed Thuridan. But I defeated them and saved the Ikkagu.]]ELDER:
You have slaughtered that which we hold most dear. Though you claim your intentions were pure, our homeland has been defiled by your presence. You are no longer welcome here. Begone, and never return!<br>
[[Continue|leavinssg]]The villagers cheer and celebrate. They love you!<br>
[[Continue|Town 2]]You and Zara take your leave of Red Hawk village and return to the crossroads.<br>
[[Continue|signpost]]The villagers are busy celebrating. Most of them are too drunk to talk.<br>
[[Continue|Town 2]]As you're pushing your way through the crowded street, a poor old bum asks if you can spare a few coins.<br>
[[Toss him a coin]]
[[Pretend like you don't hear him and keep walking]]
[[Tell him to get a real job]]<<if $gold gte 1>>\
<<set $gold -= 1>>\
You flick a coin to the bum. He smiles a big toothless grin as you continue on your way.<br>
[[Continue|passbum]]
<<else>>\
You dig through your pockets but realize you don't have any gold! You shrug apologetically and continue on your way.<br>
[[Continue|passbum]]
<</if>>\You ignore the bum and continue on your way.<br>
[[Continue|passbum]]You tell the bum to get a real job and continue on your way.<br>
[[Continue|passbum]]You pause as you pass through the main gates of the city. This place is enormous! A magic artifact could be hidden anywhere...<br>
[[Continue|boysjg]]You and Zara move out of the main road and take a minute to collect your thoughts. Two boys are sitting nearby, eating lunch and chatting as they watch people pass by.<br>
[[Continue|chattin]]DORKIN:
A magic mirror? I don't believe it. Even powerful wizards don't have magic mirrors, and old Melon-head... well, he's not exactly what you'd call a powerful wizard, now, is he?<br>
[[Continue|isher]]NESTOR:
I'm not lying! Master Melandrach has a magic mirror in the top room of his tower. He accidentally dropped that old sword into the mirror today during our experiments and it never came back out!<br>
[[Excuse me, where might I find Master Melandrach?]]
[[Are you a wizard's apprentice?]]NESTOR:
See that tower across the road? He lives there. But he's VERY busy! He doesn't have time for guests.<br>
[[Thanks, kid.|Town 3]]
[[He'll make time for me.|Town 3]]NESTOR:
I sure am! I work with Master Melandrach, the greatest wizard in all of Azmar!<br>
[[Continue|iiuuyydd]]DORKIN:
More like the clumsiest oaf in all of Azmar.<br>
[[Continue|shtghk]]NESTOR:
Shut up, Dorkin!<br>
[[Where can I find your master?|Excuse me, where might I find Master Melandrach?]]MELANDRACH:
Yes? What can I do for you? Do we have an appointment?<br>
[[Uh... yeah! You called me here to discuss the... um... doohickey? Yeah, the doohickey. Don't you remember?]]
[[I have a few questions for you. I'm looking for an enchanted sword.]]MELANDRACH:
Ah, the doohickey! Right! I thought I scrapped that project six months ago... or am I thinking of the stink-fiddle? Nevermind. Please come in- but watch your step! My lab is a bit of a mess.<br>
[[Continue|followmelan]]MELANDRACH:
It wasn't me, I swear it! I'm too good-looking to go to jail. Please have mercy!<br>
[[What are you talking about?]]
[[Fess up or else!]]MELANDRACH:
You- you're not with the city guard? Oh, thank goodness. I thought you came here to arrest me. You see, there was an accident, and- well, it's a long story. Follow me and I'll explain.<br>
[[Continue|followmelan]]MELANDRACH:
Okay! I'll tell you everything I know... please, just understand it was all an accident. I never meant anyone harm. Follow me and I'll explain.<br>
[[Continue|followmelan]]The confused old wizard leads you through a maze of weird objects and experiments. After climbing a long spiral staircase you arrive in a messy laboratory. A beautiful golden mirror stands in the far corner. Melandrach begins fiddling with a few beakers and test tubes. He seems to have forgotten you're with him.<br>
[[Continue|slkigi]]MELANDRACH:
I'm in the middle of a new experiment designed to make fish fly! I'm on the verge of a breakthrough- very exciting stuff! Erm... I'm sorry, what did you say you were here for again?<br>
[[I came here to ask about an enchanted sword.]]
[[You were just about to show me that fancy mirror of yours.]]MELANDRACH:
The Demon Blade! Oh, bother... I seem to have lost it. You see, I dropped the sword into that magic mirror and now I can't get it back!<br>
[[Why can't you get it back?]]
[[What happens when something goes through the mirror?]]MELANDRACH:
The mirror! Oh, bother... I seem to be having some trouble with that mirror. You see, I dropped an enchanted sword into the mirror and now I can't get it back!<br>
[[Why can't you get it back?]]
[[What happens when something goes through the mirror?]]MELANDRACH:
This mirror has a sister, almost an exact replica in design and function. If an object passes through the mirror, it exits through the sister mirror. That other mirror is located in the chamber of the King of Irongate.<br>
[[This mirror leads into the king's bedroom? That seems like a security issue...]]
[[I'll jump through the mirror, grab the sword, and come back. What's the big deal?]]MELANDRACH:
This mirror has a sister, almost an exact replica in design and function. If an object passes through the mirror, it exits through the sister mirror. That other mirror is located in the chamber of the King of Irongate.<br>
[[This mirror leads into the king's bedroom? That seems like a security issue...]]
[[I'll jump through the mirror, grab the sword, and come back. What's the big deal?]]MELANDRACH:
The King and I were close friends once. This was our greatest experiment, and we both kept one of the mirrors. I'm sure he's forgotten all about it by now. In fact, I can't say for sure if he even has it anymore... we designed these mirrors years ago. He may have gotten rid of it. Who knows what lies on the other side now?<br>
[[I'll jump through the mirror, grab the sword, and be back before you know it!]]MELANDRACH:
To tell you the truth, I can't say for sure if the King even has his mirror anymore... we designed them years ago. He may have gotten rid of it. Who knows what lies on the other side now?<br>
[[Don't worry. I'll just jump in quick, and if it's bad I'll come right back.|I'll jump through the mirror, grab the sword, and be back before you know it!]]MELANDRACH:
Let it be known I'm not responsible for what happens on the other side!<br>
[[Continue|contlk]]ZARA:
I'm going to wait here. No way am I jumping through some crazy mirror. Good luck without me!<br>
[[Continue|jumpthrough]]You roll your eyes and jump through the mirror.<br>
[[Continue|lsigj]]A second later you fall to the floor with a crash. A woman shrieks nearby- it is a horrified, blood-curdling scream. Startled, you look around, quickly taking in your new surroundings.<br>
[[Continue|beldh]]You are woken up a short while later by the smell of pipe smoke. You can't see Zara, but you're sure it's coming from her.<br>
[[Go back to sleep]]
[[Look for Zara]]You fall back to sleep and don't wake up until morning.<br>
[[Continue|lastmorning]]You rub the sleep out of your eyes and begin wandering around the campsite. You stumble through a tangle of bushes and find Zara smoking and dancing in the starlight.<br>
[[Go back to sleep]]
[[Clear your throat to announce your presence]]Zara's head snaps around. She laughs and opens her arms to you, inviting you to join her in... whatever it is she's doing.<br>
[[What are you doing?]]
[[We have a long day ahead of us tomorrow... I'm going back to sleep.]]ZARA:
Freeing my spirit! Come join me.<br>
[[Smoke with Zara]]
[[Go back to sleep]]You fall back to sleep and don't wake up until morning.<br>
[[Continue|lastmorning]]You begin smoking with Zara. Whatever's in this pipe is really powerful. You begin having wild visions. Suddenly Zara turns into a unicorn. You look down at your own body and realize that you've become a pegasus.<br>
[[Continue|mounts]]ZARA:
Neigh!<br>
[[Neigh, yourself!]]
[[Stare at a tree]]The next morning you wake up feeling exhausted but cheerful. After a quick breakfast of dried meat and berries, you don the Infernal Armor, Demon Blade, and Flame Shield. All stats +3!<br>
[[Continue|equepped]]
<<set $weap = "Demon Blade">>\
<<set $armor = "Infernal Armor">>\
<<set $shield = "Flame Shield">>\
<<set $inventory.delete("Demon Blade")>>\
<<set $inventory.delete("Flame Shield")>>\
<<set $inventory.delete("Infernal Armor")>>\
<<set $sword += 3>>\
<<set $atkpwr = $sword + $atk>>\
<<set $arm += 3>>\
<<set $def = $basedef + $helm + $arm + $sd>>\
<<set $hp += 3>>\
<<set $maxHP += 3>>\
<<set $mp += 3>>\
<<set $maxmp += 3>>\You whinny and shake your head. This is some powerful stuff!<br>
[[Continue|lastmorning]]You spend the rest of the night staring at the bark of a tree while Zara frolics all around you.<br>
[[Continue|lastmorning]]With the magic artifacts equipped, you continue on your way to Sunrise Peak.<br>
[[Continue|skjglk]]Thunder rumbles overhead. The base of the mountain is in sight when the first raindrops begin to fall. Lightning flashes and the entrance to the dragon's lair is revealed. The rocks ahead form the horrifying visage of a screaming skull.<br>
[[Continue|entreckj]]You and Zara pass through the mouth of the skull and enter the dragon's lair.<br>
[[Continue|dragonslahg]]The dragon's lair is swelteringly hot. Rivers of lava flow throughout the fortress. As you creep across a bridge made of obsidian, you notice a group of goblins on patrol. Scanning the area, you spot a ventilation system overhead. What will you do?<br>
[[Climb through the vents to avoid detection]]
[[Attack the goblins]]You are lying on the floor of the royal bedchambers. There is a sword lying on the ground in front of you. The magic mirror you fell through sits nearby. A terrified maid runs out of the room as fast as she can, while the King stands frozen in surprise.<br>
[[Apologize to the King]]
[[Take the sword and quietly leave]]The King stares at you incredulously. His face grows red with rage and suddenly he finds his voice.<br>
[[Continue|lskdjlf]]The King stares at you incredulously. His face grows red with rage and suddenly he finds his voice.<br>
[[Continue|lskdjlf]]KING:
What the devil are you doing in my royal bedchambers!? Get out! OUT!<br>
[[Continue|maroir]]The King throws a shoe at you. You duck instinctively. The shoe flies overhead and smashes against the edge of the mirror. The impact causes the glass to shatter- your escape route is cut off! Now you're stuck in the royal bedchambers with the furious King. He calls for the guards.<br>
[[Kill the King]]
[[Flee the bed chamber]]
[[Jump out the window]]You grab the enchanted sword and drive it through the King's throat. The King gurgles out blood and dies. You can hear the footsteps of guards approaching. What are you going to do?<br>
[[Jump out the window|windowjob]]
[[Charge out and fight them|iigugug]]You grab the Demon Blade and charge out into the hallway. Dozens of guards are charging toward you. The only way out is to fight!<br>
[[Fight]]
<<set $state = 7>>\
<<set $inventory.push("Demon Blade")>>\You punch the King and leap out the window. You can hear the guards shouting and searching the chambers above, but nobody spots you. You flee the castle grounds without further incident.<br>
[[Continue|bladke]]
<<set $inventory.push("Demon Blade")>>\You wipe the blood off the Demon Blade and leap out the window. You can hear the guards shouting and searching the chambers above, but nobody spots you. You flee the castle grounds without further incident.<br>
[[Continue|bladke]]
<<set $inventory.push("Demon Blade")>>\You grab the Demon Blade and charge out into the hallway. Dozens of guards are running toward you. The only way out is to fight!<br>
[[Fight]]
<<set $state = 7>>\
<<set $inventory.push("Demon Blade")>>\You return to the wizard's tower, where you find Melandrach and Zara nervously waiting for you.<br>
[[Continue|jlkg]]ZARA:
What happened? Why didn't you come back through the mirror?<br>
[[It's a long story...]]
[[The other mirror broke and I couldn't get back through. But we need to keep moving. We have a quest to complete.]]
<<set $adventure += 1>>\<<if visited("Pleasure the King")>>\
You thank Melandrach for his help and exit the tower.<br>
[[Continue|Town 3]]
<<else>>\
MELANDRACH:
There seems to be quite a commotion in the city today. Look out the window! I don't think I've ever seen so many royal guards in my entire life. I wonder what happened?<br>
[[We need to go now. Thanks for all your help, Melandrach!]]
<</if>>\<<if visited("Pleasure the King")>>\
You thank Melandrach for his help and exit the tower.<br>
[[Continue|Town 3]]
<<else>>\
MELANDRACH:
There seems to be quite a commotion in the city today. Look out the window! I don't think I've ever seen so many royal guards in my entire life. What did you do?<br>
[[We need to go now. Thanks for all your help, Melandrach!]]
<</if>>\The guards apprehend you and cut off your head. Your journey ends here... YOU ARE DEAD!<br>
[[Retry?|Fight]]
<<set $hp = $maxHP>>\
<<set $mp = $maxmp>>\
<<set $pizza = 2>>\
<<set $beer = 1>>\You kill the guards and run down a side passageway. Sticking to the shadows, you manage to sneak out of the palace and flee the castle grounds without further incident.<br>
[[Continue|bladke]]You grab Zara's hand and drag her out of the tower. You wait for a troop of guards to pass by, then you flee the city. Better stay away from Irongate for a while... You return to the crossroads.<br>
[[Continue|signpost]]You charge out into the hallway. Dozens of guards are running toward you. The only way out is to fight!<br>
[[Fight]]
<<set $state = 7>>\
<<set $inventory.push("Demon Blade")>>\Melandrach is busy with experiments. Better leave him alone for now.<br>
[[Continue|Town 3]]You give Zara a boost up into the vents. Once she's up, she reaches a hand down and pulls you up- and not a moment too soon! The goblins pass by, unaware.<br>
[[Continue|thrlke]]You charge forward and attack the goblins!<br>
[[Fight]]
<<set $state = 8>>\You follow the vents to another exit. You push Zara to the side and kick out the metal grate. It falls to the floor with a loud clang. You and Zara hop out of the vents and find yourselves standing in a grand throne room.<br>
[[Continue|lskgjir]]The throne room is filled with slaves chained to elaborately carved pillars. They look extremely weak... but the worst part is they're standing on an island of stone surrounded by a pool filled with sharks! You scan the faces and are relieved to see that $name is among them.<br>
[[Everybody stay calm! I'm here to save you!]]
[[Where's the dragon?]]DRAGON:
How adorable!<br>
[[Continue|slagji]]DRAGON:
I'm right here.<br>
[[Continue|slagji]]You look up and see the dragon hanging from a stalactite high above. The dragon drops to the ground, but when it lands it doesn't look like a dragon anymore- it looks like a man with a shark's head. This creature isn't a dragon at all... it's a Shyfter!<br>
[[Shyfter scum! I will smite you!]]
[[Well crap. I was not prepared for this.]]SHYFTER:
Bold talk. I see you've picked up some new armor since last we met. Your timing is perfect, however. I was just about to eat $name for dinner...<br>
[[NO!!!!]]
[[I'll kill you!]]SHYFTER:
I'm so glad you could join us. I must admit, your timing is perfect. I was just about to eat $name for dinner...<br>
[[NO!!!!]]
[[I'll kill you!]]The Shyfter laughs and attacks!<br>
[[Fight]]
<<set $state = 9>>\The Shyfter laughs and attacks!<br>
[[Fight]]
<<set $state = 9>>\The Shyfter kills you. Your journey ends here... YOU ARE DEAD!<br>
[[Retry?|Fight]]
<<set $hp = $maxHP>>\
<<set $mp = $maxmp>>\
<<set $pizza = 2>>\
<<set $beer = 1>>\The Shyfter is a vicious fighter, but not even an evil shapeshifting star monster can stand up to the combined power of the ancient artifacts you carry. You drive the Shyfter backward until it stands on the edge of the shark pool. The sharks leap out of the water, hungry for flesh. The Shyfter teeters on the edge of the pool, a look of fear and panic in his eyes.<br>
[[Continue|shlguu]]SHYFTER:
Please, be reasonable. We can talk about this, can't we? I wasn't really going to eat $name, I swear! Please don't kill me!<br>
[[You made your choice when you destroyed my village. Your fate has been sealed ever since.]]
[[Just what I'd expect from a Shyfter who lost- begging and grovelling. Have a nice swim, pal!]]You stomp kick the Shyfter in the chest. The beast tries to transform into a bird, but it's too late- the sharks rip him to shreds. The pool turns black from the Shyfter's blood. You heave a great sigh of relief.<br>
[[Continue|sljfgigg]]You stomp kick the Shyfter in the chest. The beast tries to transform into a bird, but it's too late- the sharks rip him to shreds. The pool turns black from the Shyfter's blood. You heave a great sigh of relief.<br>
[[Continue|sljfgigg]]Suddenly the room begins to shake. Rocks tumble from the ceiling, and you realize the fortress is collapsing all around you! You leap forward and undo the chains around $name's neck while Zara begins to free the other prisoners. You all run as fast as you can while the mountain collapses behind you.<br>
[[Continue|alskgiir]]You emerge into the sunlight just moments before the entire cave collapses. Smoke billows out of the entrance, but you managed to save everyone.<br>
[[Continue|tnedlgj]]With the prisoners free and $name safe once more, you have completed your quest. Zara will go on to compose a magnificent ballad recounting your heroic deeds, but for now it's time to go home and get some rest. And maybe grab a slice of pizza? You have certainly earned it!<br>
[[THE END!]]Congratulations!<br>
You win.The goblins kill you and mount your head on a spike. Your journey ends here... YOU ARE DEAD!<br>
[[Retry?|Fight]]
<<set $hp = $maxHP>>\
<<set $mp = $maxmp>>\
<<set $pizza = 2>>\
<<set $beer = 1>>\You defeat the goblins and follow the passageway ahead. Before long you find yourselves standing in a grand throne room.<br>
[[Continue|lskgjir]]<<if $header == 1>>\
<div class="myDiv">\
<span class='no'>\
<div style="text-align: center;">\
<<link "Back">><<run Engine.backward()>><</link>> | <<link "Save">><<script>>UI.saves()<</script>><</link>> | [[Restart][state.restart()]]
</div>\
</span>\
</div>
<</if>>\